Browse Source
vfs_static: Remove template byte parameter from StaticVfsFile
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.nce_cpp
4 changed files with 42 additions and 42 deletions
-
2src/core/file_sys/romfs.cpp
-
42src/core/file_sys/vfs_concat.cpp
-
33src/core/file_sys/vfs_concat.h
-
7src/core/file_sys/vfs_static.h
Write
Preview
Loading…
Cancel
Save
Reference in new issue