mirror of
https://github.com/pantor/inja.git
synced 2026-06-07 03:19:46 +00:00
add warnings for benchmark, fix for inja_throw
This commit is contained in:
@@ -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