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
fa9f4040
Unverified
Commit
fa9f4040
authored
Jun 27, 2020
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🔥
remove unused typedefs #2221
parent
5ba0f65c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
json_pointer.hpp
include/nlohmann/detail/json_pointer.hpp
+0
-6
json.hpp
single_include/nlohmann/json.hpp
+0
-6
No files found.
include/nlohmann/detail/json_pointer.hpp
View file @
fa9f4040
...
...
@@ -398,7 +398,6 @@ class json_pointer
*/
BasicJsonType
&
get_and_create
(
BasicJsonType
&
j
)
const
{
using
size_type
=
typename
BasicJsonType
::
size_type
;
auto
result
=
&
j
;
// in case no reference tokens exist, return a reference to the JSON value
...
...
@@ -471,7 +470,6 @@ class json_pointer
*/
BasicJsonType
&
get_unchecked
(
BasicJsonType
*
ptr
)
const
{
using
size_type
=
typename
BasicJsonType
::
size_type
;
for
(
const
auto
&
reference_token
:
reference_tokens
)
{
// convert null values to arrays or objects before continuing
...
...
@@ -531,7 +529,6 @@ class json_pointer
*/
BasicJsonType
&
get_checked
(
BasicJsonType
*
ptr
)
const
{
using
size_type
=
typename
BasicJsonType
::
size_type
;
for
(
const
auto
&
reference_token
:
reference_tokens
)
{
switch
(
ptr
->
type
())
...
...
@@ -581,7 +578,6 @@ class json_pointer
*/
const
BasicJsonType
&
get_unchecked
(
const
BasicJsonType
*
ptr
)
const
{
using
size_type
=
typename
BasicJsonType
::
size_type
;
for
(
const
auto
&
reference_token
:
reference_tokens
)
{
switch
(
ptr
->
type
())
...
...
@@ -624,7 +620,6 @@ class json_pointer
*/
const
BasicJsonType
&
get_checked
(
const
BasicJsonType
*
ptr
)
const
{
using
size_type
=
typename
BasicJsonType
::
size_type
;
for
(
const
auto
&
reference_token
:
reference_tokens
)
{
switch
(
ptr
->
type
())
...
...
@@ -665,7 +660,6 @@ class json_pointer
*/
bool
contains
(
const
BasicJsonType
*
ptr
)
const
{
using
size_type
=
typename
BasicJsonType
::
size_type
;
for
(
const
auto
&
reference_token
:
reference_tokens
)
{
switch
(
ptr
->
type
())
...
...
single_include/nlohmann/json.hpp
View file @
fa9f4040
...
...
@@ -11529,7 +11529,6 @@ class json_pointer
*/
BasicJsonType
&
get_and_create
(
BasicJsonType
&
j
)
const
{
using
size_type
=
typename
BasicJsonType
::
size_type
;
auto
result
=
&
j
;
// in case no reference tokens exist, return a reference to the JSON value
...
...
@@ -11602,7 +11601,6 @@ class json_pointer
*/
BasicJsonType
&
get_unchecked
(
BasicJsonType
*
ptr
)
const
{
using
size_type
=
typename
BasicJsonType
::
size_type
;
for
(
const
auto
&
reference_token
:
reference_tokens
)
{
// convert null values to arrays or objects before continuing
...
...
@@ -11662,7 +11660,6 @@ class json_pointer
*/
BasicJsonType
&
get_checked
(
BasicJsonType
*
ptr
)
const
{
using
size_type
=
typename
BasicJsonType
::
size_type
;
for
(
const
auto
&
reference_token
:
reference_tokens
)
{
switch
(
ptr
->
type
())
...
...
@@ -11712,7 +11709,6 @@ class json_pointer
*/
const
BasicJsonType
&
get_unchecked
(
const
BasicJsonType
*
ptr
)
const
{
using
size_type
=
typename
BasicJsonType
::
size_type
;
for
(
const
auto
&
reference_token
:
reference_tokens
)
{
switch
(
ptr
->
type
())
...
...
@@ -11755,7 +11751,6 @@ class json_pointer
*/
const
BasicJsonType
&
get_checked
(
const
BasicJsonType
*
ptr
)
const
{
using
size_type
=
typename
BasicJsonType
::
size_type
;
for
(
const
auto
&
reference_token
:
reference_tokens
)
{
switch
(
ptr
->
type
())
...
...
@@ -11796,7 +11791,6 @@ class json_pointer
*/
bool
contains
(
const
BasicJsonType
*
ptr
)
const
{
using
size_type
=
typename
BasicJsonType
::
size_type
;
for
(
const
auto
&
reference_token
:
reference_tokens
)
{
switch
(
ptr
->
type
())
...
...
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