Changes in src/include/cassert [e3e16bc:e59c088]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/include/cassert
re3e16bc re59c088 10 10 // Created On : Thu Aug 18 13:19:26 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : T ue Aug 1 11:56:01 201713 // Update Count : 1612 // Last Modified On : Thu Aug 18 13:25:55 2016 13 // Update Count : 4 14 14 // 15 15 … … 31 31 __ASSERT_FUNCTION, fmt, ## __VA_ARGS__ )) 32 32 33 void __assert_fail_f( const char *assertion, const char *file, 34 unsigned int line, const char *function, 35 const char *fmt, ... 33 void __assert_fail_f( const char *assertion, const char *file, 34 unsigned int line, const char *function, 35 const char *fmt, ... 36 36 ) __attribute__((noreturn, format(printf, 5, 6))); 37 37 … … 39 39 40 40 template<typename T, typename U> 41 static inline T s trict_dynamic_cast( const U & src) {41 static inline T safe_dynamic_cast(const U& src) { 42 42 T ret = dynamic_cast<T>(src); 43 43 assert(ret);
Note:
See TracChangeset
for help on using the changeset viewer.