mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-24 00:13:48 -07:00
protocol: fix logm template checks
This commit is contained in:
@@ -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 { \
|
||||
|
Reference in New Issue
Block a user