aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Networking
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2022-02-14 12:43:57 +0100
committerShauren <shauren.trinity@gmail.com>2022-02-14 13:37:45 +0100
commit85bdeed51e09bd34a796a39e192c6454567c4514 (patch)
tree66d592bf47a7d08645fda1ff94ae42e2b8d78a3d /src/server/shared/Networking
parent93735ae3bd926d13cff43ffce1f0640a2693649f (diff)
Dep: Raise required boost versions to 1.73 on windows and 1.71 on linux and remove compatibility code for unsupported versions
(cherry picked from commit f6e72494f185d096f2cce70e646f0761e67e1bc7)
Diffstat (limited to 'src/server/shared/Networking')
-rw-r--r--src/server/shared/Networking/AsyncAcceptor.h6
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
{