fix, Qt6: explicitly initialize QPair

This commit is contained in:
QxQ 2020-12-13 17:27:07 +08:00
parent 51f8a38c38
commit df233027a6
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
6084 6085

View File

@ -14,7 +14,7 @@
#endif #endif
#define NEWLINE "\r\n" #define NEWLINE "\r\n"
#define ___LOG_EXPAND(___x) , QPair(std::string(#___x), [&] { return ___x; }()) #define ___LOG_EXPAND(___x) , QPair<std::string, decltype(___x)>(std::string(#___x), [&] { return ___x; }())
#define A(...) FOREACH_CALL_FUNC(___LOG_EXPAND, __VA_ARGS__) #define A(...) FOREACH_CALL_FUNC(___LOG_EXPAND, __VA_ARGS__)
#ifdef QT_DEBUG #ifdef QT_DEBUG