mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-28 16:37:23 +00:00
update AMF3 logic and disable sanitizers on darwin
This commit is contained in:
parent
ac4fd02a6c
commit
8eb3488812
@ -5,7 +5,7 @@ project(Darkflame
|
||||
)
|
||||
|
||||
# TEMP - Sanitizer flags
|
||||
if (UNIX)
|
||||
if (UNIX AND NOT APPLE)
|
||||
# add_compile_options("-fsanitize=address,undefined" "-fvisibility=default")
|
||||
add_compile_options("-fsanitize=undefined" "-fvisibility=default")
|
||||
add_link_options("-fsanitize=undefined")
|
||||
|
@ -94,7 +94,7 @@ AMFValue(const char*) -> AMFValue<std::string>; // AMFStringValue
|
||||
*/
|
||||
class AMFArrayValue : public AMFBaseValue {
|
||||
using AMFAssociative =
|
||||
std::unordered_map<std::string, std::unique_ptr<AMFBaseValue>, GeneralUtils::transparent_string_hash, std::equal_to<>>;
|
||||
std::unordered_map<std::string, std::unique_ptr<AMFBaseValue>, GeneralUtils::transparent_string_hash, std::equal_to<void>>;
|
||||
|
||||
using AMFDense = std::vector<std::unique_ptr<AMFBaseValue>>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user