diff --git a/server_http.hpp b/server_http.hpp index b4e5e68..a52e16e 100644 --- a/server_http.hpp +++ b/server_http.hpp @@ -405,7 +405,7 @@ namespace SimpleWeb { { #if defined(__linux__) && defined(TCP_FASTOPEN) const int qlen = 5; // This seems to be the value that is used in other examples. - boost::system::error_code ec; + error_code ec{}; acceptor->set_option(asio::detail::socket_option::integer(qlen), ec); #endif // End Linux }