1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-31 10:24:23 +03:00

🔀 merge develop branch and resolve conflicts

This commit is contained in:
Niels Lohmann
2020-07-11 13:21:13 +02:00
parent 9c21285133
commit 3a80823ff8
2 changed files with 89 additions and 3 deletions

View File

@ -12,7 +12,7 @@ namespace nlohmann
/// for use within nlohmann::basic_json<ordered_map>
template <class Key, class T, class IgnoredLess = std::less<Key>,
class Allocator = std::allocator<std::pair<const Key, T>>>
struct ordered_map : std::vector<std::pair<const Key, T>, Allocator>
struct ordered_map : std::vector<std::pair<const Key, T>, Allocator>
{
using key_type = Key;
using mapped_type = T;