From 55c2abd2c96715908e0cd2202495f141fadc0e81 Mon Sep 17 00:00:00 2001 From: Honkazel <169346573+Honkazel@users.noreply.github.com> Date: Wed, 12 Nov 2025 12:49:11 +0500 Subject: [PATCH] internal: clang-tidy & ifdef changes --- src/includes.hpp | 6 ------ src/protocols/WaylandProtocol.hpp | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) 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 { \