Ensure no warnings on release builds.

Change assert(false) into abort().
This commit is contained in:
2021-12-04 08:15:11 +00:00
parent 176d655e3c
commit ce73fdc740
3 changed files with 5 additions and 5 deletions

View File

@@ -38,7 +38,7 @@ Distance distance(std::string const& s, unsigned t)
return result;
}
else {
assert(false);
abort();
}
}