diff options
| author | 2018-07-29 21:00:50 -0400 | |
|---|---|---|
| committer | 2018-08-01 00:16:54 -0400 | |
| commit | 9d59b96ef907e8be2560107485f7616a2234c4a8 (patch) | |
| tree | 1176f8c2cdf9dcf9ef68c5308a138800547d2d99 /src/core | |
| parent | Use ErrorEncrypted where applicable and fix no keys crash (diff) | |
| download | yuzu-9d59b96ef907e8be2560107485f7616a2234c4a8.tar.gz yuzu-9d59b96ef907e8be2560107485f7616a2234c4a8.tar.xz yuzu-9d59b96ef907e8be2560107485f7616a2234c4a8.zip | |
Use static const instead of const static
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/crypto/key_manager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/crypto/key_manager.h b/src/core/crypto/key_manager.h index 28a560a3f..c09a6197e 100644 --- a/src/core/crypto/key_manager.h +++ b/src/core/crypto/key_manager.h | |||
| @@ -111,7 +111,7 @@ private: | |||
| 111 | void AttemptLoadKeyFile(std::string_view dir1, std::string_view dir2, std::string_view filename, | 111 | void AttemptLoadKeyFile(std::string_view dir1, std::string_view dir2, std::string_view filename, |
| 112 | bool title); | 112 | bool title); |
| 113 | 113 | ||
| 114 | const static std::unordered_map<std::string, KeyIndex<S128KeyType>> s128_file_id; | 114 | static const std::unordered_map<std::string, KeyIndex<S128KeyType>> s128_file_id; |
| 115 | const static std::unordered_map<std::string, KeyIndex<S256KeyType>> s256_file_id; | 115 | static const std::unordered_map<std::string, KeyIndex<S256KeyType>> s256_file_id; |
| 116 | }; | 116 | }; |
| 117 | } // namespace Core::Crypto | 117 | } // namespace Core::Crypto |