diff options
| author | 2018-09-25 19:56:46 -0400 | |
|---|---|---|
| committer | 2018-09-25 20:06:21 -0400 | |
| commit | e3b2ef917076d10b7dab45023b5f15b9c0985400 (patch) | |
| tree | 63ef194848f548f88528447a4333edeb474b5d6a /src | |
| parent | fsmitm_romfsbuild: Avoid type truncation warnings (diff) | |
| download | yuzu-e3b2ef917076d10b7dab45023b5f15b9c0985400.tar.gz yuzu-e3b2ef917076d10b7dab45023b5f15b9c0985400.tar.xz yuzu-e3b2ef917076d10b7dab45023b5f15b9c0985400.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/file_sys/vfs_vector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/vfs_vector.cpp b/src/core/file_sys/vfs_vector.cpp index 23cff3fb9..389c7e003 100644 --- a/src/core/file_sys/vfs_vector.cpp +++ b/src/core/file_sys/vfs_vector.cpp | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | 9 | ||
| 10 | namespace FileSys { | 10 | namespace FileSys { |
| 11 | VectorVfsFile::VectorVfsFile(std::vector<u8> initial_data, std::string name, VirtualDir parent) | 11 | VectorVfsFile::VectorVfsFile(std::vector<u8> initial_data, std::string name, VirtualDir parent) |
| 12 | : data(std::move(initial_data)), name(std::move(name)), parent(std::move(parent)) {} | 12 | : data(std::move(initial_data)), parent(std::move(parent)), name(std::move(name)) {} |
| 13 | 13 | ||
| 14 | VectorVfsFile::~VectorVfsFile() = default; | 14 | VectorVfsFile::~VectorVfsFile() = default; |
| 15 | 15 | ||