diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-07-04 19:20:22 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-07-04 19:20:22 +0200 |
commit | 092e4ae75e28fca8cf13d0315eb3923ba1c27133 (patch) | |
tree | 626db24b153b1ef43486a50361fde4dd046dc2ad /src/common | |
parent | 398186afd0f4f18ccdcffe8b7eb37f1873c28e61 (diff) | |
download | colobot-092e4ae75e28fca8cf13d0315eb3923ba1c27133.tar.gz colobot-092e4ae75e28fca8cf13d0315eb3923ba1c27133.tar.bz2 colobot-092e4ae75e28fca8cf13d0315eb3923ba1c27133.zip |
Enabled logging & minor fixes
- added logger to main()
- removed reference to Snd namespace and renamed back to sound.h
- fixed minor issues
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: |