Changeset 689
- Timestamp:
- Dec 26, 2007, 10:26:31 PM (17 years ago)
- Location:
- code/branches/FICN/src/orxonox/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/core/DebugLevel.cc
r688 r689 45 45 this->softDebugLevel_ = this->softDebugLevelContainer_->getValue(this->softDebugLevel_); 46 46 } 47 48 /** 49 @brief Static function that holds the singleton. 50 */ 51 int DebugLevel::getSoftDebugLevel() 52 { 53 static DebugLevel theOneAndOnlyInstance = DebugLevel(); 54 return theOneAndOnlyInstance.softDebugLevel_; 55 } 56 47 57 } 48 58 -
code/branches/FICN/src/orxonox/core/DebugLevel.h
r688 r689 45 45 { 46 46 public: 47 static inline int getSoftDebugLevel() 48 { 49 static DebugLevel theOneAndOnlyInstance = DebugLevel(); 50 return theOneAndOnlyInstance.softDebugLevel_; 51 } 52 47 static int getSoftDebugLevel(); 53 48 private: 54 49 DebugLevel(); // don't create
Note: See TracChangeset
for help on using the changeset viewer.