From f4e749b0c77442d792cb89f6550442aefe9767c5 Mon Sep 17 00:00:00 2001 From: narknon <73571427+narknon@users.noreply.github.com> Date: Thu, 29 Aug 2024 14:57:17 -0400 Subject: [PATCH] Get rid of more leaking C4251 --- UE4SS/include/Mod/Mod.hpp | 3 +-- deps/first/JSON/include/JSON/Array.hpp | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) 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;