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.
merge-requests/60/head
Lioncash 2018-09-25 19:56:46 +07:00
parent 4654f89618
commit e3b2ef9170
1 changed files with 1 additions and 1 deletions

@ -9,7 +9,7 @@
namespace FileSys {
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;