Huge compile performance refactor

This commit is contained in:
Jack Andersen 2017-12-28 22:05:42 -10:00
parent 34860de248
commit 3b94b2d400
3 changed files with 5 additions and 8 deletions

View File

@ -2,8 +2,8 @@
#define JBUS_COMMON_HPP
#include <functional>
#include <stdint.h>
#include <stdlib.h>
#include <cstdint>
#include <cstdlib>
namespace jbus
{

View File

@ -8,7 +8,7 @@
#include <arpa/inet.h>
#include <netdb.h>
#include <unistd.h>
#include <errno.h>
#include <cerrno>
#else
#include <winsock2.h>
#include <Ws2tcpip.h>
@ -21,9 +21,7 @@
#include "Common.hpp"
namespace jbus
{
namespace net
namespace jbus::net
{
/* Define the low-level send/receive flags, which depend on the OS */
@ -371,7 +369,6 @@ public:
SocketTp GetInternalSocket() const { return m_socket; }
};
}
}
#endif // JBUS_SOCKET_HPP

View File

@ -1,4 +1,4 @@
#include <stdio.h>
#include <cstdio>
#include "jbus/Listener.hpp"
#include "jbus/Endpoint.hpp"
#include <functional>