Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
json
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
json
Commits
5e7bdf1c
Commit
5e7bdf1c
authored
Jun 23, 2020
by
gatopeich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Roll-back to hard-coded object_t::value_type
parent
fb8c11f2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
12 deletions
+4
-12
json.hpp
include/nlohmann/json.hpp
+2
-6
json.hpp
single_include/nlohmann/json.hpp
+2
-6
No files found.
include/nlohmann/json.hpp
View file @
5e7bdf1c
...
...
@@ -496,12 +496,8 @@ class basic_json
using
object_t
=
ObjectType
<
StringType
,
basic_json
,
object_comparator_t
,
// 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
>>
;
// Note: this forces object_t::value_type to match std::map's
AllocatorType
<
std
::
pair
<
const
StringType
,
basic_json
>>>
;
/*!
@brief a type for an array
...
...
single_include/nlohmann/json.hpp
View file @
5e7bdf1c
...
...
@@ -16355,12 +16355,8 @@ class basic_json
using
object_t
=
ObjectType
<
StringType
,
basic_json
,
object_comparator_t
,
// 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
>>
;
// Note: this forces object_t::value_type to match std::map's
AllocatorType
<
std
::
pair
<
const
StringType
,
basic_json
>>>
;
/*!
@brief a type for an array
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment