diff --git a/src/includes.hpp b/src/includes.hpp index e33e4e3f7..c9816890f 100644 --- a/src/includes.hpp +++ b/src/includes.hpp @@ -1,11 +1,5 @@ #pragma once -// because C/C++ VS Code intellisense is stupid with includes, we will suppress them here. -// This suppresses all "include file not found" errors. -#ifdef __INTELLISENSE__ -#pragma diag_suppress 1696 -#endif - #include #include #include diff --git a/src/protocols/WaylandProtocol.hpp b/src/protocols/WaylandProtocol.hpp index d46d6aafb..5a54d7303 100644 --- a/src/protocols/WaylandProtocol.hpp +++ b/src/protocols/WaylandProtocol.hpp @@ -33,7 +33,7 @@ } else if (level == LOG || level == INFO || level == TRACE) { \ oss << "[" << EXTRACT_CLASS_NAME() << "] "; \ } \ - if constexpr (std::tuple_size::value == 1 && std::is_same_v) { \ + if constexpr (std::tuple_size_v == 1 && std::is_same_v) { \ oss << __VA_ARGS__; \ Debug::log(level, oss.str()); \ } else { \