- Timestamp:
- May 31, 2015, 10:22:59 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/core/singleton/ScopedSingletonIncludes.h
r10481 r10514 73 73 className* className::singletonPtr_s = NULL; \ 74 74 static ScopedSingletonWrapper& className##ScopedSingletonWrapper \ 75 = (new orxonox::SI_SSW(new ClassScopedSingletonWrapper<className, scope, allowedToFail>(#className)))->getWrapper()75 = (new orxonox::SI_SSW(new ClassScopedSingletonWrapper<className, allowedToFail>(#className), scope))->getWrapper() 76 76 77 77 namespace orxonox … … 80 80 { 81 81 public: 82 StaticallyInitializedScopedSingletonWrapper(ScopedSingletonWrapper* wrapper) : wrapper_(wrapper) {} 82 StaticallyInitializedScopedSingletonWrapper(ScopedSingletonWrapper* wrapper, ScopeID::Value scope) 83 : wrapper_(wrapper) 84 , scope_(scope) 85 {} 83 86 84 87 virtual void load(); … … 90 93 private: 91 94 ScopedSingletonWrapper* wrapper_; 95 ScopeID::Value scope_; 92 96 }; 93 97
Note: See TracChangeset
for help on using the changeset viewer.