diff --git a/src/server/common/server_base.cpp b/src/server/common/server_base.cpp index 7c981615f565..380ea05919ce 100644 --- a/src/server/common/server_base.cpp +++ b/src/server/common/server_base.cpp @@ -17,6 +17,7 @@ #include "log.hpp" #include "serialization/parser.hpp" #include "filesystem.hpp" +#include "utils/general.hpp" #ifdef HAVE_CONFIG_H #include "config.h" @@ -192,7 +193,7 @@ void server_base::serve(boost::asio::yield_context yield, boost::asio::ip::tcp:: async_send_error(socket, "Too many connections from your IP."); return; } else { - if constexpr (std::is_same_v) { + if constexpr (utils::decayed_is_same) { DBG_SERVER << ip << "\tnew encrypted connection fully accepted\n"; } else { DBG_SERVER << ip << "\tnew connection fully accepted\n";