There was an error fetching the commit references. Please try again later.
vfs: Make WriteBytes() overload taking a std::vector pass the std::vector by const reference
Given the data is intended to be directly written, there's no need to take the std::vector by value and copy the data.
Showing
- src/core/file_sys/vfs.cpp 1 addition, 1 deletionsrc/core/file_sys/vfs.cpp
- src/core/file_sys/vfs.h 1 addition, 1 deletionsrc/core/file_sys/vfs.h
- src/core/file_sys/vfs_offset.cpp 1 addition, 1 deletionsrc/core/file_sys/vfs_offset.cpp
- src/core/file_sys/vfs_offset.h 1 addition, 1 deletionsrc/core/file_sys/vfs_offset.h
Please register or sign in to comment