mirror of https://git.suyu.dev/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:
parent
4654f89618
commit
e3b2ef9170
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue