summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/vfs_static.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-09-24 03:50:16 +0200
committerZach Hilman <zachhilman@gmail.com>2018-09-24 03:50:20 +0200
commitb3c2ec362bbbdd89da9c0aa84b425717f5e3d351 (patch)
treed3f4e621532f1f280f94bac4e6d071707aabbd35 /src/core/file_sys/vfs_static.h
parentqt: Add UI elements for LayeredFS and related tools (diff)
downloadyuzu-b3c2ec362bbbdd89da9c0aa84b425717f5e3d351.tar
yuzu-b3c2ec362bbbdd89da9c0aa84b425717f5e3d351.tar.gz
yuzu-b3c2ec362bbbdd89da9c0aa84b425717f5e3d351.tar.bz2
yuzu-b3c2ec362bbbdd89da9c0aa84b425717f5e3d351.tar.lz
yuzu-b3c2ec362bbbdd89da9c0aa84b425717f5e3d351.tar.xz
yuzu-b3c2ec362bbbdd89da9c0aa84b425717f5e3d351.tar.zst
yuzu-b3c2ec362bbbdd89da9c0aa84b425717f5e3d351.zip
Diffstat (limited to 'src/core/file_sys/vfs_static.h')
-rw-r--r--src/core/file_sys/vfs_static.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/file_sys/vfs_static.h b/src/core/file_sys/vfs_static.h
index 5bc8ca52e..4dd47ffcc 100644
--- a/src/core/file_sys/vfs_static.h
+++ b/src/core/file_sys/vfs_static.h
@@ -4,6 +4,7 @@
#pragma once
+#include <algorithm>
#include <memory>
#include <string_view>
@@ -15,7 +16,7 @@ template <u8 value>
class StaticVfsFile : public VfsFile {
public:
explicit StaticVfsFile(size_t size = 0, std::string name = "", VirtualDir parent = nullptr)
- : size(size), name(name), parent(parent) {}
+ : size(size), name(std::move(name)), parent(std::move(parent)) {}
std::string GetName() const override {
return name;