Use automatic allocation for assertion error messages

This commit is contained in:
Rangi42 authored and Sylvie committed 2024-02-29 13:44:08 -05:00
1 parent ef1c1440a0
commit 002eed405b
3 files changed
+12 -13

No files matched your search

+1 -1
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;
};