Changeset 10829 for code/branches/cpp11_v2/src/libraries/util/output
- Timestamp:
- Nov 22, 2015, 5:30:57 PM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/libraries/util/output
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/util/output/OutputManager.cc
r10821 r10829 41 41 #include "util/Output.h" 42 42 #include "util/StringUtils.h" 43 #include "util/SharedPtr.h"44 43 45 44 namespace orxonox … … 81 80 } 82 81 83 /*static*/ SharedPtr<OutputManager>& OutputManager::Testing::getInstancePointer()84 { 85 static SharedPtr<OutputManager> instance(new OutputManager());82 /*static*/ std::shared_ptr<OutputManager>& OutputManager::Testing::getInstancePointer() 83 { 84 static std::shared_ptr<OutputManager> instance(new OutputManager()); 86 85 return instance; 87 86 } -
code/branches/cpp11_v2/src/libraries/util/output/OutputManager.h
r10817 r10829 41 41 #include <vector> 42 42 #include <map> 43 #include <memory> 43 44 44 45 #include "OutputDefinitions.h" … … 137 138 struct _UtilExport Testing 138 139 { 139 static SharedPtr<OutputManager>& getInstancePointer();140 static std::shared_ptr<OutputManager>& getInstancePointer(); 140 141 }; 141 142 };
Note: See TracChangeset
for help on using the changeset viewer.