Changeset 3301 for code/trunk/src/core/ConfigValueContainer.h
- Timestamp:
- Jul 18, 2009, 4:03:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/ConfigValueContainer.h
r3196 r3301 69 69 inline virtual ~ConfigValueCallback() {} 70 70 inline virtual void call(void* object) 71 { if (!Identifier::isCreatingHierarchy()) { (((T*)object)->*this->function_)(); } } 71 { 72 if (!Identifier::isCreatingHierarchy()) 73 (static_cast<T*>(object)->*this->function_)(); 74 } 72 75 73 76 private:
Note: See TracChangeset
for help on using the changeset viewer.