diff options
| author | David <25727384+ogniK5377@users.noreply.github.com> | 2020-07-01 14:16:26 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-01 14:16:26 +1000 |
| commit | 3bb63bc0b364ed10d478102d3174f55486438716 (patch) | |
| tree | c8ecf8b20b877bd08701e0213e446e4bb9a8660c /src/core/file_sys/bis_factory.cpp | |
| parent | c6b0353c4dac96a592b67f6360909d2ac0836ea6 (diff) | |
| parent | 9f82a9a2444a232e746992fa89084b928255cb63 (diff) | |
Merge pull request #3967 from FearlessTobi/keys-singleton
crypto: Make KeyManager a singleton class
Diffstat (limited to 'src/core/file_sys/bis_factory.cpp')
| -rw-r--r-- | src/core/file_sys/bis_factory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/bis_factory.cpp b/src/core/file_sys/bis_factory.cpp index 0af44f340..464ca6503 100644 --- a/src/core/file_sys/bis_factory.cpp +++ b/src/core/file_sys/bis_factory.cpp @@ -79,7 +79,7 @@ VirtualDir BISFactory::OpenPartition(BisPartitionId id) const { } VirtualFile BISFactory::OpenPartitionStorage(BisPartitionId id) const { - Core::Crypto::KeyManager keys; + Core::Crypto::KeyManager& keys = Core::Crypto::KeyManager::instance(); Core::Crypto::PartitionDataManager pdm{ Core::System::GetInstance().GetFilesystem()->OpenDirectory( FileUtil::GetUserPath(FileUtil::UserPath::SysDataDir), Mode::Read)}; |
