add warnings for benchmark, fix for inja_throw

This commit is contained in:
pantor
2021-06-17 20:03:40 +02:00
parent e91a2fd350
commit 9cf7db8a06
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -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