Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Use static const instead of const static

Zach Hilman1f83886c21fa
diff --git a/src/core/crypto/key_manager.h b/src/core/crypto/key_manager.h
index 28a560a3f5..c09a6197e6 100644
--- a/src/core/crypto/key_manager.h
+++ b/src/core/crypto/key_manager.h
@@ -111,7 +111,7 @@ private:
void AttemptLoadKeyFile(std::string_view dir1, std::string_view dir2, std::string_view filename,
bool title);
- const static std::unordered_map<std::string, KeyIndex<S128KeyType>> s128_file_id;
- const static std::unordered_map<std::string, KeyIndex<S256KeyType>> s256_file_id;
+ static const std::unordered_map<std::string, KeyIndex<S128KeyType>> s128_file_id;
+ static const std::unordered_map<std::string, KeyIndex<S256KeyType>> s256_file_id;
};
} // namespace Core::Crypto