assert toggle (#1377)

* assert toggle

* Update Assert.h
This commit is contained in:
ManDude
2022-05-29 00:27:58 +01:00
committed by GitHub
parent c1faeac042
commit 9449078a9b
4 changed files with 20 additions and 3 deletions
+6 -2
View File
@@ -1,7 +1,9 @@
#include "Assert.h"
#ifndef NO_ASSERT
#include <cstdio>
#include <cstdlib>
#include "Assert.h"
#include <string_view>
void private_assert_failed(const char* expr,
@@ -32,3 +34,5 @@ void private_assert_failed(const char* expr,
private_assert_failed(expr, file, line, function, msg.data());
}
}
#endif