Avoid using std::get except in holds_alternative-asserting accessors

This commit is contained in:
Rangi42
2024-03-03 23:33:23 -05:00
parent 13904dc536
commit f2c875e71e
6 changed files with 23 additions and 8 deletions

View File

@@ -33,6 +33,9 @@ struct Symbol {
int32_t, // Constants just have a numeric value
Label // Label values refer to an offset within a specific section
> data;
Label &label();
Label const &label() const;
};
void sym_AddSymbol(Symbol &symbol);