summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-13 14:39:02 +0200
committerLioncash <mathew1800@gmail.com>2018-10-13 14:39:05 +0200
commitd257a3b56cac582fe296994b98f050e7b8f39056 (patch)
treecd1572ca5c05ff61ec51bbcb4bdaed1e41f54abf
parentpartition_data_manager: Amend constructor initializer list order (diff)
downloadyuzu-d257a3b56cac582fe296994b98f050e7b8f39056.tar
yuzu-d257a3b56cac582fe296994b98f050e7b8f39056.tar.gz
yuzu-d257a3b56cac582fe296994b98f050e7b8f39056.tar.bz2
yuzu-d257a3b56cac582fe296994b98f050e7b8f39056.tar.lz
yuzu-d257a3b56cac582fe296994b98f050e7b8f39056.tar.xz
yuzu-d257a3b56cac582fe296994b98f050e7b8f39056.tar.zst
yuzu-d257a3b56cac582fe296994b98f050e7b8f39056.zip
-rw-r--r--src/core/crypto/partition_data_manager.cpp2
-rw-r--r--src/core/crypto/partition_data_manager.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/crypto/partition_data_manager.cpp b/src/core/crypto/partition_data_manager.cpp
index 7c3d9661d..ff46aad7c 100644
--- a/src/core/crypto/partition_data_manager.cpp
+++ b/src/core/crypto/partition_data_manager.cpp
@@ -301,7 +301,7 @@ FileSys::VirtualFile FindFileInDirWithNames(const FileSys::VirtualDir& dir,
return nullptr;
}
-PartitionDataManager::PartitionDataManager(FileSys::VirtualDir sysdata_dir)
+PartitionDataManager::PartitionDataManager(const FileSys::VirtualDir& sysdata_dir)
: boot0(FindFileInDirWithNames(sysdata_dir, "BOOT0")),
fuses(FindFileInDirWithNames(sysdata_dir, "fuse")),
kfuses(FindFileInDirWithNames(sysdata_dir, "kfuse")),
diff --git a/src/core/crypto/partition_data_manager.h b/src/core/crypto/partition_data_manager.h
index 0822a949c..c5a492a92 100644
--- a/src/core/crypto/partition_data_manager.h
+++ b/src/core/crypto/partition_data_manager.h
@@ -23,7 +23,7 @@ class PartitionDataManager {
public:
static const u8 MAX_KEYBLOB_SOURCE_HASH;
- explicit PartitionDataManager(FileSys::VirtualDir sysdata_dir);
+ explicit PartitionDataManager(const FileSys::VirtualDir& sysdata_dir);
~PartitionDataManager();
// BOOT0