mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Remove now-unnecessary struct keyword (#1320)
C++ acts like structs are `typedef`ed by default We do have to keep `struct stat`, since there's ambiguity with the function also called `stat`.
This commit is contained in:
@@ -7,7 +7,7 @@ using namespace std::literals;
|
||||
|
||||
// The default values are the most lax, as they are used as-is by RGBASM; only RGBLINK has the full info,
|
||||
// so RGBASM's job is only to catch unconditional errors earlier.
|
||||
struct SectionTypeInfo sectionTypeInfo[SECTTYPE_INVALID] = {
|
||||
SectionTypeInfo sectionTypeInfo[SECTTYPE_INVALID] = {
|
||||
{ // SECTTYPE_WRAM0
|
||||
.name = "WRAM0"s,
|
||||
.startAddr = 0xC000,
|
||||
|
||||
Reference in New Issue
Block a user