diff options
Diffstat (limited to 'common/adaptorfactoryregistry.cpp')
-rw-r--r-- | common/adaptorfactoryregistry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/adaptorfactoryregistry.cpp b/common/adaptorfactoryregistry.cpp index 91b5a4c..c302bca 100644 --- a/common/adaptorfactoryregistry.cpp +++ b/common/adaptorfactoryregistry.cpp | |||
@@ -34,7 +34,7 @@ using namespace Sink; | |||
34 | AdaptorFactoryRegistry &AdaptorFactoryRegistry::instance() | 34 | AdaptorFactoryRegistry &AdaptorFactoryRegistry::instance() |
35 | { | 35 | { |
36 | // QMutexLocker locker(&sMutex); | 36 | // QMutexLocker locker(&sMutex); |
37 | static AdaptorFactoryRegistry *instance = 0; | 37 | static AdaptorFactoryRegistry *instance = nullptr; |
38 | if (!instance) { | 38 | if (!instance) { |
39 | instance = new AdaptorFactoryRegistry; | 39 | instance = new AdaptorFactoryRegistry; |
40 | } | 40 | } |