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

@ -221,7 +221,7 @@ void Xml::load(Xml *xml, std::string data, size_t *j) {
int code = std::stoi(sc.substr(1));
buffer += (char)code;
} else {
assertUnreachable("Unknown Special character: " + sc);
assertUnreachable("Unknown Special character: %s", sc.c_str());
}
}
} else {