Fix Include order
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include "BroadcastClientImpl.h"
|
||||
#include "BroadcastClient.h"
|
||||
#include "BroadcastClientImpl.h"
|
||||
|
||||
|
||||
namespace Network {
|
||||
@@ -27,4 +27,3 @@ void BroadcastClient::Broadcast(const std::string& data, int sourcePort)
|
||||
}
|
||||
|
||||
} // namespace Network
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#ifndef NETWORK_BROADCASTCLIENTIMPL_H
|
||||
#define NETWORK_BROADCASTCLIENTIMPL_H
|
||||
|
||||
#include "UdpClientImpl.h"
|
||||
#include <functional>
|
||||
#include <string>
|
||||
#include "UdpClientImpl.h"
|
||||
|
||||
|
||||
namespace Network {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "BroadcastServerImpl.h"
|
||||
#include "BroadcastServer.h"
|
||||
#include "BroadcastServerImpl.h"
|
||||
|
||||
|
||||
namespace Network {
|
||||
@@ -27,4 +27,3 @@ void BroadcastServer::Broadcast(const std::string& data, int sourcePort)
|
||||
}
|
||||
|
||||
} // namespace Network
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#ifndef NETWORK_BROADCASTSERVER_IMPL_H
|
||||
#define NETWORK_BROADCASTSERVER_IMPL_H
|
||||
|
||||
#include "UdpClientImpl.h"
|
||||
#include <functional>
|
||||
#include <string>
|
||||
#include "UdpClientImpl.h"
|
||||
|
||||
|
||||
namespace Network {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "IcmpClientImpl.h"
|
||||
#include "IcmpClient.h"
|
||||
#include "IcmpClientImpl.h"
|
||||
|
||||
|
||||
namespace Network {
|
||||
@@ -17,4 +17,3 @@ bool IcmpClient::Ping(const std::string& targetAddress)
|
||||
}
|
||||
|
||||
} // namespace Network
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <chrono>
|
||||
#include "IcmpClientImpl.h"
|
||||
#include <chrono>
|
||||
|
||||
|
||||
namespace Network {
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
#ifndef NETWORK_ICMPCLIENTIMPL_H
|
||||
#define NETWORK_ICMPCLIENTIMPL_H
|
||||
|
||||
#include "Ipv4Header.h"
|
||||
#include "IcmpHeader.h"
|
||||
#include "asio.hpp"
|
||||
#include <condition_variable>
|
||||
#include <functional>
|
||||
#include <mutex>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
#include <vector>
|
||||
#include "asio.hpp"
|
||||
#include "Ipv4Header.h"
|
||||
#include "IcmpHeader.h"
|
||||
|
||||
|
||||
namespace Network {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#ifndef ICMPHEADER_H
|
||||
#define ICMPHEADER_H
|
||||
|
||||
#include <istream>
|
||||
#include "asio.hpp"
|
||||
#include <istream>
|
||||
|
||||
|
||||
namespace Network {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#ifndef IPV4HEADER_H
|
||||
#define IPV4HEADER_H
|
||||
|
||||
#include <istream>
|
||||
#include "asio.hpp"
|
||||
#include <istream>
|
||||
|
||||
|
||||
namespace Network {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "MulticastClientImpl.h"
|
||||
#include "MulticastClient.h"
|
||||
#include "MulticastClientImpl.h"
|
||||
|
||||
|
||||
namespace Network {
|
||||
@@ -27,4 +27,3 @@ void MulticastClient::Broadcast(const std::string& data, int sourcePort)
|
||||
}
|
||||
|
||||
} // namespace Network
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#ifndef NETWORK_MULTICASTCLIENTIMPL_H
|
||||
#define NETWORK_MULTICASTCLIENTIMPL_H
|
||||
|
||||
#include "UdpClientImpl.h"
|
||||
#include <functional>
|
||||
#include <string>
|
||||
#include "UdpClientImpl.h"
|
||||
|
||||
|
||||
namespace Network {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "UdpClientImpl.h"
|
||||
#include "UdpClient.h"
|
||||
#include "UdpClientImpl.h"
|
||||
|
||||
|
||||
namespace Network {
|
||||
@@ -27,4 +27,3 @@ void UdpClient::Broadcast(const std::string& data, int sourcePort)
|
||||
}
|
||||
|
||||
} // namespace Network
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "Logging.h"
|
||||
#include "UdpClientImpl.h"
|
||||
#include "Logging.h"
|
||||
|
||||
|
||||
namespace Network {
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
#ifndef NETWORK_UDPCLIENTIMPL_H
|
||||
#define NETWORK_UDPCLIENTIMPL_H
|
||||
|
||||
#include "asio.hpp"
|
||||
#include <functional>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
#include <vector>
|
||||
#include "asio.hpp"
|
||||
|
||||
|
||||
namespace Network {
|
||||
|
||||
Reference in New Issue
Block a user