From 526ba25e1ea7a5392e2f8b0ad08fe7dc37fb1f28 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Wed, 25 Jun 2014 15:42:50 +0200 Subject: [PATCH] Prevent multiple inclusions of logging.h Also provide destructor of QLoggingCategory inline. Change-Id: Ic12cd0347eddcbfaddbd93ea8e9b9baa3307973f Reviewed-by: Fawzi Mohamed --- src/libs/utils/logging.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libs/utils/logging.h b/src/libs/utils/logging.h index da212ef9208..ad041ec0b83 100644 --- a/src/libs/utils/logging.h +++ b/src/libs/utils/logging.h @@ -28,6 +28,7 @@ ****************************************************************************/ #ifndef LOGGING_H +#define LOGGING_H #include @@ -42,7 +43,7 @@ class QLoggingCategory Q_DISABLE_COPY(QLoggingCategory) public: explicit QLoggingCategory(const char *category) : name(category) {} - ~QLoggingCategory(); + ~QLoggingCategory() {} static void setFilterRules(const QString &) {} bool isDebugEnabled() const { return false; }