diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/io/qloggingcategory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qloggingcategory.h b/src/corelib/io/qloggingcategory.h index ca606bfae5..f990d8d0c4 100644 --- a/src/corelib/io/qloggingcategory.h +++ b/src/corelib/io/qloggingcategory.h @@ -108,7 +108,7 @@ template <> const bool QLoggingCategoryMacroHolder<QtWarningMsg>::IsOutputEnable __VA_ARGS__ const QLoggingCategory &name(); #define Q_DECLARE_LOGGING_CATEGORY(name) \ - Q_DECLARE_EXPORTED_LOGGING_CATEGORY(name) + Q_DECLARE_EXPORTED_LOGGING_CATEGORY(name, /* prevent zero variadic arguments */ ) #define Q_LOGGING_CATEGORY(name, ...) \ const QLoggingCategory &name() \ |