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

This commit is contained in:
Rangi42 committed 2024-03-03 23:33:23 -05:00
1 parent 13904dc536
commit f2c875e71e
6 files changed
+23 -8

No files matched your search

+3
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);