aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server/main/server.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'server/main/server.hpp')
-rw-r--r--server/main/server.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/server/main/server.hpp b/server/main/server.hpp
index 5524f88..50d8c7a 100644
--- a/server/main/server.hpp
+++ b/server/main/server.hpp
@@ -6,12 +6,14 @@
#include <boost/asio.hpp>
#include <boost/system/error_code.hpp>
+#include <cstddef>
+
namespace math::server {
class Server {
public:
Server(const Settings& settings);
- Server(unsigned port, unsigned threads);
+ Server(unsigned short port, std::size_t threads);
void run();
@@ -22,7 +24,7 @@ private:
void accept();
void handle_accept(SessionPtr session, const boost::system::error_code& ec);
- const unsigned m_numof_threads;
+ const std::size_t m_numof_threads;
boost::asio::io_context m_io_context;
boost::asio::signal_set m_signals;