mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 13:45:59 +01:00
protocol: fix logm template checks
This commit is contained in:
parent
bf611fbbf3
commit
fa12efdd2a
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@
|
||||||
} else if (level == LOG || level == INFO || level == TRACE) { \
|
} else if (level == LOG || level == INFO || level == TRACE) { \
|
||||||
oss << "[" << EXTRACT_CLASS_NAME() << "] "; \
|
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__; \
|
oss << __VA_ARGS__; \
|
||||||
Debug::log(level, oss.str()); \
|
Debug::log(level, oss.str()); \
|
||||||
} else { \
|
} else { \
|
||||||
|
|
Loading…
Reference in a new issue