Use automatic allocation for assertion error messages

This commit is contained in:
Rangi42
2024-02-28 20:09:49 -05:00
committed by Sylvie
parent ef1c1440a0
commit 002eed405b
3 changed files with 12 additions and 13 deletions

View File

@@ -14,7 +14,7 @@
struct Assertion {
struct Patch patch; // Also used for its `.type`
std::string *message;
std::string message;
// This would be redundant with `.section->fileSymbols`... but `section` is sometimes NULL!
std::vector<struct Symbol> *fileSymbols;
};