diff options
| author | Shauren <shauren.trinity@gmail.com> | 2022-02-14 12:43:57 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2022-02-14 12:43:57 +0100 |
| commit | f6e72494f185d096f2cce70e646f0761e67e1bc7 (patch) | |
| tree | 0009a721406f3a97b08a578432a5dd0b7dfb1061 /src/server/shared/Networking | |
| parent | a6dd3a1946be27acab80b78b71eecae7dbad82e6 (diff) | |
Dep: Raise required boost versions to 1.73 on windows and 1.71 on linux and remove compatibility code for unsupported versions
Diffstat (limited to 'src/server/shared/Networking')
| -rw-r--r-- | src/server/shared/Networking/AsyncAcceptor.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/server/shared/Networking/AsyncAcceptor.h b/src/server/shared/Networking/AsyncAcceptor.h index 6540db66474..ffc694340fc 100644 --- a/src/server/shared/Networking/AsyncAcceptor.h +++ b/src/server/shared/Networking/AsyncAcceptor.h @@ -22,16 +22,12 @@ #include "IpAddress.h" #include "Log.h" #include <boost/asio/ip/tcp.hpp> -#include <functional> #include <atomic> +#include <functional> using boost::asio::ip::tcp; -#if BOOST_VERSION >= 106600 #define TRINITY_MAX_LISTEN_CONNECTIONS boost::asio::socket_base::max_listen_connections -#else -#define TRINITY_MAX_LISTEN_CONNECTIONS boost::asio::socket_base::max_connections -#endif class AsyncAcceptor { |
