Ensure no warnings on release builds.
Change assert(false) into abort().
This commit is contained in:
@@ -38,7 +38,7 @@ Distance distance(std::string const& s, unsigned t)
|
||||
return result;
|
||||
}
|
||||
else {
|
||||
assert(false);
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user