summaryrefslogtreecommitdiffstats
path: root/src/common/singleton.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/singleton.h')
-rw-r--r--src/common/singleton.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/singleton.h b/src/common/singleton.h
index 8e423c5..dc09645 100644
--- a/src/common/singleton.h
+++ b/src/common/singleton.h
@@ -39,7 +39,7 @@ template<typename T> class CSingleton
}
static bool IsCreated() {
- return mInstance != nullptr;
+ return mInstance != NULL;
}
CSingleton() {
@@ -48,7 +48,7 @@ template<typename T> class CSingleton
}
~CSingleton() {
- mInstance = nullptr;
+ mInstance = NULL;
}
private: