Fix Include order

This commit is contained in:
2020-02-09 14:26:16 +01:00
parent 4b7cb6c61c
commit 7e3b008d5c
15 changed files with 17 additions and 23 deletions
+1 -2
View File
@@ -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 -1
View File
@@ -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 -2
View File
@@ -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 -1
View File
@@ -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 -2
View File
@@ -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 -1
View File
@@ -1,5 +1,5 @@
#include <chrono>
#include "IcmpClientImpl.h"
#include <chrono>
namespace Network {
+3 -3
View File
@@ -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 -1
View File
@@ -1,8 +1,8 @@
#ifndef ICMPHEADER_H
#define ICMPHEADER_H
#include <istream>
#include "asio.hpp"
#include <istream>
namespace Network {
+1 -1
View File
@@ -1,8 +1,8 @@
#ifndef IPV4HEADER_H
#define IPV4HEADER_H
#include <istream>
#include "asio.hpp"
#include <istream>
namespace Network {
+1 -2
View File
@@ -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 -1
View File
@@ -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 -2
View File
@@ -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 -1
View File
@@ -1,5 +1,5 @@
#include "Logging.h"
#include "UdpClientImpl.h"
#include "Logging.h"
namespace Network {
+1 -1
View File
@@ -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 {
+1 -2
View File
@@ -8,7 +8,7 @@
namespace Network {
class m_pUdpClientImpl;
class UdpClientImpl;
class UdpClient
{
@@ -29,4 +29,3 @@ private:
} // namespace Network
#endif // UDPCLIENT_H