Changeset 7327 for code/branches/doc/src/libraries/util/SharedPtr.cc
- Timestamp:
- Sep 3, 2010, 12:19:53 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/doc/src/libraries/util/SharedPtr.cc
r7284 r7327 27 27 */ 28 28 29 /** 30 @file 31 @brief Static linkage of the SmallObjectAllocator used by SharedPtr. 32 */ 33 29 34 #include "SharedPtr.h" 30 35 31 36 namespace orxonox 32 37 { 33 SmallObjectAllocator& createSharedCounterPool()38 namespace detail 34 39 { 35 static SmallObjectAllocator instance(sizeof(SharedCounterImpl<void>)); 36 return instance; 40 SmallObjectAllocator& createSharedCounterPool() 41 { 42 static SmallObjectAllocator instance(sizeof(SharedCounterImpl<void>)); 43 return instance; 44 } 37 45 } 38 46 }
Note: See TracChangeset
for help on using the changeset viewer.