Skip to content

Commit

Permalink
Remove leaking pragma warning(default: 4251) (UE4SS-RE#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
narknon authored Jun 17, 2024
1 parent 379e111 commit 452df3c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions UE4SS/include/Mod/Mod.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ namespace RC
UE4SSProgram& m_program;

protected:
#pragma warning(disable : 4251)
std::wstring m_mod_name;
std::wstring m_mod_path;
#pragma warning(default : 4251)

protected:
// Whether the mod can be installed
Expand Down
4 changes: 1 addition & 3 deletions deps/first/JSON/include/JSON/Object.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,10 @@ namespace RC::JSON
Yes,
No
};

#pragma warning(disable : 4251)

private:
std::unordered_map<StringType, std::unique_ptr<JSON::Value>> m_members{};
IsGlobalObject m_is_global_object{IsGlobalObject::No};
#pragma warning(default : 4251)

public:
Object() = default;
Expand Down

0 comments on commit 452df3c

Please sign in to comment.