Iclude boost as system headers to suppress warnings

This commit is contained in:
badaix 2024-12-20 19:30:42 +01:00
parent 06f1c7d32f
commit 0b1b1e38bb
7 changed files with 24 additions and 71 deletions

View file

@ -28,13 +28,7 @@
#include <boost/asio/ssl.hpp>
#include <boost/beast/core.hpp>
#include <boost/beast/ssl.hpp>
#pragma GCC diagnostic push
#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif
#include <boost/beast/websocket.hpp>
#pragma GCC diagnostic pop
// standard headers
#include <deque>