Răsfoiți Sursa

Use static const instead of const static

Zach Hilman 8 ani în urmă
părinte
comite
9d59b96ef9
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      src/core/crypto/key_manager.h

+ 2 - 2
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