Changeset 5807 for code/branches/core5
- Timestamp:
- Sep 27, 2009, 12:53:49 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/libraries/core/SmartPtr.h
r5805 r5807 34 34 #include "CorePrereqs.h" 35 35 36 #include <cassert> 36 37 #include <ostream> 38 #include "OrxonoxClass.h" 37 39 38 40 namespace orxonox … … 112 114 inline T* operator->() const 113 115 { 116 assert(this->pointer_ != 0); 114 117 return this->pointer_; 115 118 } … … 117 120 inline T& operator*() const 118 121 { 122 assert(this->pointer_ != 0); 119 123 return *this->pointer_; 120 124 }
Note: See TracChangeset
for help on using the changeset viewer.