Rewrote assertions

This commit is contained in:
2023-11-01 21:48:10 -05:00
parent 0752d7ba4b
commit 0126661ce2
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 {};
}