summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/DiscExtractor.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-03-27 21:49:39 -0400
committerLioncash <mathew1800@gmail.com>2018-03-27 21:49:42 -0400
commitfc531993a9ea4d53bbcc29c032f23907b1c9790c (patch)
tree8621fa3ef69fbd6b6460712775ccaacf353e4d38 /Source/Core/DiscIO/DiscExtractor.cpp
parentac97f0463f233d970a0c4a60b3f686d4ace7a36a (diff)
DiscExtractor: Pass partition by reference rather than by value in ExtractDirectory()
Diffstat (limited to 'Source/Core/DiscIO/DiscExtractor.cpp')
-rw-r--r--Source/Core/DiscIO/DiscExtractor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/DiscExtractor.cpp b/Source/Core/DiscIO/DiscExtractor.cpp
index f254be68ca..e616a9cac1 100644
--- a/Source/Core/DiscIO/DiscExtractor.cpp
+++ b/Source/Core/DiscIO/DiscExtractor.cpp
@@ -119,7 +119,7 @@ bool ExportFile(const Volume& volume, const Partition& partition, const std::str
return ExportFile(volume, partition, file_system->FindFileInfo(path).get(), export_filename);
}
-void ExportDirectory(const Volume& volume, const Partition partition, const FileInfo& directory,
+void ExportDirectory(const Volume& volume, const Partition& partition, const FileInfo& directory,
bool recursive, const std::string& filesystem_path,
const std::string& export_folder,
const std::function<bool(const std::string& path)>& update_progress)