diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/singleton.h | 4 |
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: |