Rewrote assertions

This commit is contained in:
2023-11-01 21:48:10 -05:00
parent ab1d39aa57
commit c5cfc31436
12 changed files with 146 additions and 133 deletions

View File

@ -78,6 +78,6 @@ struct Color Color::fromString(std::string str) {
}
// TODO: Parse other kinds of colors
assertUnreachable("Failed to find a color match for " + str);
assertUnreachable("Failed to find a color match for %s", str);
return {};
}