diff --git a/UE4SS/include/Mod/Mod.hpp b/UE4SS/include/Mod/Mod.hpp index c68dbd5b4..021d70dc4 100644 --- a/UE4SS/include/Mod/Mod.hpp +++ b/UE4SS/include/Mod/Mod.hpp @@ -25,10 +25,9 @@ namespace RC UE4SSProgram& m_program; protected: -#pragma warning(disable : 4251) StringType m_mod_name; std::filesystem::path m_mod_path; -#pragma warning(default : 4251) + protected: // Whether the mod can be installed diff --git a/deps/first/JSON/include/JSON/Array.hpp b/deps/first/JSON/include/JSON/Array.hpp index 979b31aab..c003cbb5b 100644 --- a/deps/first/JSON/include/JSON/Array.hpp +++ b/deps/first/JSON/include/JSON/Array.hpp @@ -24,11 +24,9 @@ namespace RC::JSON { public: constexpr static Type static_type = Type::Array; - -#pragma warning(disable : 4251) + private: std::vector> m_members{}; -#pragma warning(default : 4251) public: Array() = default;