Changeset 3301 for code/trunk/src/core/Super.h
- Timestamp:
- Jul 18, 2009, 4:03:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/Super.h
r3196 r3301 91 91 static void check() \ 92 92 { \ 93 SuperFunctionCondition<functionnumber, T, 0, templatehack2>::apply( (T*)0); \93 SuperFunctionCondition<functionnumber, T, 0, templatehack2>::apply(static_cast<T*>(0)); \ 94 94 SuperFunctionCondition<functionnumber + 1, T, 0, templatehack2>::check(); \ 95 95 } \ … … 149 149 // This call to the apply-function is the whole check. By calling the function with 150 150 // a T* pointer, the right function get's called. 151 SuperFunctionCondition<functionnumber, T, 0, templatehack2>::apply( (T*)0);151 SuperFunctionCondition<functionnumber, T, 0, templatehack2>::apply(static_cast<T*>(0)); 152 152 153 153 // Go go the check for of next super-function (functionnumber + 1)
Note: See TracChangeset
for help on using the changeset viewer.