mirror of
https://github.com/nlohmann/json.git
synced 2026-09-13 11:47:58 +00:00
Re-implement ordered_map::erase,
so that it can handle pair<const Key,...>
This commit is contained in:
@@ -499,9 +499,9 @@ class basic_json
|
||||
// Note the use of std::map default allocator as a placeholder
|
||||
// to extract the actual ObjectType::value_type
|
||||
AllocatorType<typename
|
||||
ObjectType<StringType,basic_json,object_comparator_t,
|
||||
std::allocator<std::pair<const StringType, basic_json>>
|
||||
>::value_type>>;
|
||||
ObjectType<StringType, basic_json, object_comparator_t,
|
||||
std::allocator<std::pair<const StringType, basic_json>>
|
||||
>::value_type>>;
|
||||
|
||||
/*!
|
||||
@brief a type for an array
|
||||
|
||||
Reference in New Issue
Block a user