mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-02 22:30:39 +00:00
commit
6d99516489
2 changed files with 3 additions and 2 deletions
|
@ -94,7 +94,7 @@ public:
|
||||||
value(convert::to<T>(new_value));
|
value(convert::to<T>(new_value));
|
||||||
}
|
}
|
||||||
|
|
||||||
void value_from(const entry_base* rhs)
|
void value_from(const entry_base* rhs) override
|
||||||
{
|
{
|
||||||
value(static_cast<const entry*>(rhs)->value());
|
value(static_cast<const entry*>(rhs)->value());
|
||||||
}
|
}
|
||||||
|
@ -125,4 +125,4 @@ public:
|
||||||
void set_defaults();
|
void set_defaults();
|
||||||
|
|
||||||
std::string to_string() const;
|
std::string to_string() const;
|
||||||
};
|
};
|
||||||
|
|
|
@ -19,6 +19,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
# Warnings
|
# Warnings
|
||||||
add_compile_options(-Wno-attributes -Wno-enum-compare -Wno-invalid-offsetof)
|
add_compile_options(-Wno-attributes -Wno-enum-compare -Wno-invalid-offsetof)
|
||||||
elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
|
elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
|
||||||
|
add_compile_options(-ftemplate-depth=1024)
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
add_compile_options(-stdlib=libc++)
|
add_compile_options(-stdlib=libc++)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue