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
85ffc85a
Unverified
Commit
85ffc85a
authored
Dec 14, 2020
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🎨
amalgamate code
parent
97fe455a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
json_ref.hpp
include/nlohmann/detail/json_ref.hpp
+1
-1
json.hpp
single_include/nlohmann/json.hpp
+7
-7
No files found.
include/nlohmann/detail/json_ref.hpp
View file @
85ffc85a
...
@@ -57,7 +57,7 @@ class json_ref
...
@@ -57,7 +57,7 @@ class json_ref
value_type
const
*
operator
->
()
const
value_type
const
*
operator
->
()
const
{
{
return
&**
this
;
return
&**
this
;
}
}
private
:
private
:
...
...
single_include/nlohmann/json.hpp
View file @
85ffc85a
...
@@ -4515,15 +4515,15 @@ class byte_container_with_subtype : public BinaryType
...
@@ -4515,15 +4515,15 @@ class byte_container_with_subtype : public BinaryType
:
container_type
(
std
::
move
(
b
))
:
container_type
(
std
::
move
(
b
))
{}
{}
byte_container_with_subtype
(
const
container_type
&
b
,
std
::
uint8_t
subtype
)
noexcept
(
noexcept
(
container_type
(
b
)))
byte_container_with_subtype
(
const
container_type
&
b
,
std
::
uint8_t
subtype
_
)
noexcept
(
noexcept
(
container_type
(
b
)))
:
container_type
(
b
)
:
container_type
(
b
)
,
m_subtype
(
subtype
)
,
m_subtype
(
subtype
_
)
,
m_has_subtype
(
true
)
,
m_has_subtype
(
true
)
{}
{}
byte_container_with_subtype
(
container_type
&&
b
,
std
::
uint8_t
subtype
)
noexcept
(
noexcept
(
container_type
(
std
::
move
(
b
))))
byte_container_with_subtype
(
container_type
&&
b
,
std
::
uint8_t
subtype
_
)
noexcept
(
noexcept
(
container_type
(
std
::
move
(
b
))))
:
container_type
(
std
::
move
(
b
))
:
container_type
(
std
::
move
(
b
))
,
m_subtype
(
subtype
)
,
m_subtype
(
subtype
_
)
,
m_has_subtype
(
true
)
,
m_has_subtype
(
true
)
{}
{}
...
@@ -4556,9 +4556,9 @@ class byte_container_with_subtype : public BinaryType
...
@@ -4556,9 +4556,9 @@ class byte_container_with_subtype : public BinaryType
@since version 3.8.0
@since version 3.8.0
*/
*/
void
set_subtype
(
std
::
uint8_t
subtype
)
noexcept
void
set_subtype
(
std
::
uint8_t
subtype
_
)
noexcept
{
{
m_subtype
=
subtype
;
m_subtype
=
subtype
_
;
m_has_subtype
=
true
;
m_has_subtype
=
true
;
}
}
...
@@ -12645,7 +12645,7 @@ class json_ref
...
@@ -12645,7 +12645,7 @@ class json_ref
value_type
const
*
operator
->
()
const
value_type
const
*
operator
->
()
const
{
{
return
&**
this
;
return
&**
this
;
}
}
private
:
private
:
...
...
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