There was an error fetching the commit references. Please try again later.
vfs_static: Remove template byte parameter from StaticVfsFile
This converts it into a regular constructor parameter. There's no need to make this a template parameter on the class when it functions perfectly well as a constructor argument. This also reduces the amount of code bloat produced by the compiler, as it doesn't need to generate the same code for multiple different instantiations of the same class type, but with a different fill value.
Showing
- src/core/file_sys/romfs.cpp 1 addition, 1 deletionsrc/core/file_sys/romfs.cpp
- src/core/file_sys/vfs_concat.cpp 33 additions, 9 deletionssrc/core/file_sys/vfs_concat.cpp
- src/core/file_sys/vfs_concat.h 4 additions, 29 deletionssrc/core/file_sys/vfs_concat.h
- src/core/file_sys/vfs_static.h 4 additions, 3 deletionssrc/core/file_sys/vfs_static.h
Loading
Please register or sign in to comment