1
0
Fork 1
forked from suyu/suyu

vfs_vector: Amend initializer list order in VectorVfsFile's constructor initializer list

Orders the initializer list members to be in the same order that they
would be initialized in. Avoids compiler warnings.
This commit is contained in:
Lioncash 2018-09-25 19:56:46 -04:00
parent 4654f89618
commit e3b2ef9170

View file

@ -9,7 +9,7 @@
namespace FileSys { namespace FileSys {
VectorVfsFile::VectorVfsFile(std::vector<u8> initial_data, std::string name, VirtualDir parent) VectorVfsFile::VectorVfsFile(std::vector<u8> initial_data, std::string name, VirtualDir parent)
: data(std::move(initial_data)), name(std::move(name)), parent(std::move(parent)) {} : data(std::move(initial_data)), parent(std::move(parent)), name(std::move(name)) {}
VectorVfsFile::~VectorVfsFile() = default; VectorVfsFile::~VectorVfsFile() = default;