Manager+Util: Switch to custom assert macro

This commit is contained in:
Riyyi
2022-07-27 00:10:11 +02:00
parent 04f5f42bb5
commit c59bfc20f7
9 changed files with 42 additions and 47 deletions
+2 -1
View File
@@ -7,6 +7,7 @@
#include <algorithm> // max, min
#include "util/genericlexer.h"
#include "util/meta/assert.h"
namespace Util {
@@ -53,7 +54,7 @@ void GenericLexer::retreat(size_t count)
char GenericLexer::consume()
{
assert(!isEOF());
VERIFY(!isEOF());
return m_input[m_index++];
}