summaryrefslogtreecommitdiff
path: root/examples/tokenize/tokenize.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tokenize/tokenize.cpp')
-rw-r--r--examples/tokenize/tokenize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tokenize/tokenize.cpp b/examples/tokenize/tokenize.cpp
index 2afb6024..17f5e496 100644
--- a/examples/tokenize/tokenize.cpp
+++ b/examples/tokenize/tokenize.cpp
@@ -163,7 +163,7 @@ static void write_utf8_cstr_to_stdout(const char * str, bool & invalid_utf8) {
printf(">");
return;
}
- GGML_ASSERT(false && "MultiByteToWideChar() failed in an unexpected way.");
+ GGML_ABORT("MultiByteToWideChar() failed in an unexpected way.");
}
LPWSTR wstr = (LPWSTR) calloc(length_needed+1, sizeof(*wstr));