diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/crow/http_connection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crow/http_connection.h b/include/crow/http_connection.h index 96f2d14..7e0a9f3 100644 --- a/include/crow/http_connection.h +++ b/include/crow/http_connection.h @@ -176,7 +176,7 @@ namespace crow } #ifdef CROW_ENABLE_DEBUG - static int connectionCount; + static std::atomic<int> connectionCount; #endif template <typename Adaptor, typename Handler, typename ... Middlewares> class Connection |