diff options
Diffstat (limited to 'common/log.cpp')
-rw-r--r-- | common/log.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/log.cpp b/common/log.cpp index 5dfb872..3edc89a 100644 --- a/common/log.cpp +++ b/common/log.cpp | |||
@@ -10,7 +10,6 @@ | |||
10 | #include <QMutexLocker> | 10 | #include <QMutexLocker> |
11 | #include <iostream> | 11 | #include <iostream> |
12 | #include <unistd.h> | 12 | #include <unistd.h> |
13 | #include <memory> | ||
14 | #include <atomic> | 13 | #include <atomic> |
15 | #include <definitions.h> | 14 | #include <definitions.h> |
16 | #include <QThreadStorage> | 15 | #include <QThreadStorage> |
@@ -267,7 +266,7 @@ public: | |||
267 | QSet<QString> mDebugAreas; | 266 | QSet<QString> mDebugAreas; |
268 | }; | 267 | }; |
269 | 268 | ||
270 | static auto sDebugAreaCollector = std::unique_ptr<DebugAreaCollector>(new DebugAreaCollector); | 269 | Q_GLOBAL_STATIC(DebugAreaCollector, sDebugAreaCollector); |
271 | 270 | ||
272 | QSet<QString> Sink::Log::debugAreas() | 271 | QSet<QString> Sink::Log::debugAreas() |
273 | { | 272 | { |