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 #define JBUS_COMMON_HPP
#include <functional> #include <functional>
#include <stdint.h> #include <cstdint>
#include <stdlib.h> #include <cstdlib>
namespace jbus namespace jbus
{ {

View File

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

View File

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