Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
json
Commits
323cf95d
Unverified
Commit
323cf95d
authored
Jul 21, 2019
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🚨
fix linter warning
parent
ffe0e3d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
16 deletions
+6
-16
include/nlohmann/detail/input/binary_reader.hpp
include/nlohmann/detail/input/binary_reader.hpp
+3
-8
single_include/nlohmann/json.hpp
single_include/nlohmann/json.hpp
+3
-8
No files found.
include/nlohmann/detail/input/binary_reader.hpp
View file @
323cf95d
...
...
@@ -1083,6 +1083,9 @@ class binary_reader
case
0xBD
:
case
0xBE
:
case
0xBF
:
case
0xD9
:
// str 8
case
0xDA
:
// str 16
case
0xDB
:
// str 32
{
string_t
s
;
return
get_msgpack_string
(
s
)
and
sax
->
string
(
s
);
...
...
@@ -1157,14 +1160,6 @@ class binary_reader
return
get_number
(
input_format_t
::
msgpack
,
number
)
and
sax
->
number_integer
(
number
);
}
case
0xD9
:
// str 8
case
0xDA
:
// str 16
case
0xDB
:
// str 32
{
string_t
s
;
return
get_msgpack_string
(
s
)
and
sax
->
string
(
s
);
}
case
0xDC
:
// array 16
{
std
::
uint16_t
len
;
...
...
single_include/nlohmann/json.hpp
View file @
323cf95d
...
...
@@ -6111,6 +6111,9 @@ class binary_reader
case
0xBD
:
case
0xBE
:
case
0xBF
:
case
0xD9
:
// str 8
case
0xDA
:
// str 16
case
0xDB
:
// str 32
{
string_t
s
;
return
get_msgpack_string
(
s
)
and
sax
->
string
(
s
);
...
...
@@ -6185,14 +6188,6 @@ class binary_reader
return
get_number
(
input_format_t
::
msgpack
,
number
)
and
sax
->
number_integer
(
number
);
}
case
0xD9
:
// str 8
case
0xDA
:
// str 16
case
0xDB
:
// str 32
{
string_t
s
;
return
get_msgpack_string
(
s
)
and
sax
->
string
(
s
);
}
case
0xDC
:
// array 16
{
std
::
uint16_t
len
;
...
...
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