summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-22 04:31:41 +0200
committerLioncash <mathew1800@gmail.com>2018-07-22 04:31:44 +0200
commit964154ce44cfa25bd59c6fa10113e948a3b43d5c (patch)
tree737a4e955b1eb666bd0086749603fe15b1b65058 /src/common
parentMerge pull request #759 from lioncash/redundant (diff)
downloadyuzu-964154ce44cfa25bd59c6fa10113e948a3b43d5c.tar
yuzu-964154ce44cfa25bd59c6fa10113e948a3b43d5c.tar.gz
yuzu-964154ce44cfa25bd59c6fa10113e948a3b43d5c.tar.bz2
yuzu-964154ce44cfa25bd59c6fa10113e948a3b43d5c.tar.lz
yuzu-964154ce44cfa25bd59c6fa10113e948a3b43d5c.tar.xz
yuzu-964154ce44cfa25bd59c6fa10113e948a3b43d5c.tar.zst
yuzu-964154ce44cfa25bd59c6fa10113e948a3b43d5c.zip
Diffstat (limited to '')
-rw-r--r--src/common/file_util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp
index d8163a4a8..543adbffb 100644
--- a/src/common/file_util.cpp
+++ b/src/common/file_util.cpp
@@ -480,7 +480,7 @@ unsigned ScanDirectoryTree(const std::string& directory, FSTEntry& parent_entry,
(*num_entries_out)++;
// Push into the tree
- parent_entry.children.push_back(entry);
+ parent_entry.children.push_back(std::move(entry));
return true;
};