Changeset 1058 for code/trunk/src
- Timestamp:
- Apr 14, 2008, 1:17:10 PM (17 years ago)
- Location:
- code/trunk/src/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/CoreSettings.cc
r1056 r1058 49 49 } 50 50 51 /** 52 @brief Sets the bool to true to avoid static functions accessing a deleted object. 53 */ 54 CoreSettings::~CoreSettings() 55 { 56 isCreatingCoreSettings() = true; 57 } 58 59 /** 60 @brief Returns true if the CoreSettings instance is not yet ready and the static functions have to return a default value. 61 */ 51 62 bool& CoreSettings::isCreatingCoreSettings() 52 63 { -
code/trunk/src/core/CoreSettings.h
r1056 r1058 62 62 CoreSettings(); 63 63 CoreSettings(const CoreSettings& other) {} 64 virtual ~CoreSettings() {}64 virtual ~CoreSettings(); 65 65 66 66 int softDebugLevel_; //!< The debug level
Note: See TracChangeset
for help on using the changeset viewer.