-Removed lambda expansions due to gcc generating call instructions
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
using assert_handler = void (*)(const char *, const char *, int , const char *);
|
||||
|
||||
extern void __assert_impl(const char* expression, const char* file, int line, const char* function);
|
||||
|
||||
#define assert(expression) if(not(expression)) { __assert_impl(#expression, __FILE__, __LINE__, __PRETTY_FUNCTION__); }
|
||||
|
||||
#endif // FENNEC_LANG_ASSERT_H
|
||||
|
||||
Reference in New Issue
Block a user