Просмотр исходного кода

Use static const instead of const static

Zach Hilman 8 лет назад
Родитель
Сommit
9d59b96ef9
1 измененных файлов с 2 добавлено и 2 удалено
  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