mirror of
https://github.com/pantor/inja.git
synced 2026-11-19 22:45:20 +00:00
add warnings for benchmark, fix for inja_throw
This commit is contained in:
1 parent
e91a2fd350
commit
9cf7db8a06
3 files changed
+10
-4
No files matched your search
@@ -12,7 +12,7 @@
|
||||
#else
|
||||
#include <cstdlib>
|
||||
#ifndef INJA_THROW
|
||||
#define INJA_THROW(exception) std::abort()
|
||||
#define INJA_THROW(exception) std::abort(); std::ignore = exception
|
||||
#endif
|
||||
#ifndef INJA_NOEXCEPTION
|
||||
#define INJA_NOEXCEPTION
|
||||
|
||||
Reference in new issue
Block a user