- Timestamp:
- May 2, 2015, 10:41:10 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/core/singleton/Scope.cc
r10407 r10412 36 36 namespace orxonox 37 37 { 38 std::map<ScopeID::Value, int> ScopeManager::instanceCounts_s; 39 std::map<ScopeID::Value, std::set<ScopeListener*> > ScopeManager::listeners_s; 38 /*static*/ std::map<ScopeID::Value, int>& ScopeManager::getInstanceCounts() 39 { 40 static std::map<ScopeID::Value, int> instanceCounts; 41 return instanceCounts; 42 } 43 /*static*/ std::map<ScopeID::Value, std::set<ScopeListener*> >& ScopeManager::getListeners() 44 { 45 static std::map<ScopeID::Value, std::set<ScopeListener*> > listeners; 46 return listeners; 47 } 40 48 }
Note: See TracChangeset
for help on using the changeset viewer.