mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-22 03:02:06 +00:00
Use concrete types instead of auto when convenient and not redundant (#1757)
This commit is contained in:
@@ -499,7 +499,7 @@ static bool dumpMacros(FILE *file) {
|
||||
std::sort(RANGE(macros), compareSymbols);
|
||||
|
||||
for (Symbol const *sym : macros) {
|
||||
auto const &body = sym->getMacro();
|
||||
ContentSpan const &body = sym->getMacro();
|
||||
fprintf(file, "macro %s\n", sym->name.c_str());
|
||||
fwrite(body.ptr.get(), 1, body.size, file);
|
||||
fputs("endm\n", file);
|
||||
|
||||
Reference in New Issue
Block a user