aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2024-08-18 22:54:47 +0200
committervaxerski <[email protected]>2024-08-18 22:54:47 +0200
commitfa12efdd2aae6851305245f16a801fb571fbe2c1 (patch)
tree42226a4ccf7eb351c9579570a3c51cbfde82bf66
parentbf611fbbf3183e6f96529d79189be56189a46e1b (diff)
downloadHyprland-fa12efdd2aae6851305245f16a801fb571fbe2c1.tar.gz
Hyprland-fa12efdd2aae6851305245f16a801fb571fbe2c1.zip
protocol: fix logm template checks
-rw-r--r--src/protocols/WaylandProtocol.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/WaylandProtocol.hpp b/src/protocols/WaylandProtocol.hpp
index 0fa8daab..87c75ed8 100644
--- a/src/protocols/WaylandProtocol.hpp
+++ b/src/protocols/WaylandProtocol.hpp
@@ -32,7 +32,7 @@
} else if (level == LOG || level == INFO || level == TRACE) { \
oss << "[" << EXTRACT_CLASS_NAME() << "] "; \
} \
- if constexpr (std::is_same_v<decltype(__VA_ARGS__), std::string>) { \
+ if constexpr (std::tuple_size<decltype(std::make_tuple(__VA_ARGS__))>::value == 1 && std::is_same_v<decltype(__VA_ARGS__), std::string>) { \
oss << __VA_ARGS__; \
Debug::log(level, oss.str()); \
} else { \