Skip to content

Commit

Permalink
Get rid of more leaking C4251
Browse files Browse the repository at this point in the history
  • Loading branch information
narknon committed Aug 29, 2024
1 parent 4bb9868 commit f4e749b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions UE4SS/include/Mod/Mod.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions deps/first/JSON/include/JSON/Array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ namespace RC::JSON
{
public:
constexpr static Type static_type = Type::Array;

#pragma warning(disable : 4251)

private:
std::vector<std::unique_ptr<Value>> m_members{};
#pragma warning(default : 4251)

public:
Array() = default;
Expand Down

0 comments on commit f4e749b

Please sign in to comment.