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
dffae108
Unverified
Commit
dffae108
authored
Jan 15, 2019
by
Niels Lohmann
Committed by
GitHub
Jan 15, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1435 from pboettch/warning-fix
🚨
fixed unused variable warning
parents
851fe8a5
d0c0d161
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
serializer.hpp
include/nlohmann/detail/output/serializer.hpp
+0
-1
json.hpp
single_include/nlohmann/json.hpp
+0
-1
No files found.
include/nlohmann/detail/output/serializer.hpp
View file @
dffae108
...
@@ -630,7 +630,6 @@ class serializer
...
@@ -630,7 +630,6 @@ class serializer
// Fast int2ascii implementation inspired by "Fastware" talk by Andrei Alexandrescu
// Fast int2ascii implementation inspired by "Fastware" talk by Andrei Alexandrescu
// See: https://www.youtube.com/watch?v=o4-CwDo2zpg
// See: https://www.youtube.com/watch?v=o4-CwDo2zpg
const
auto
buffer_end
=
buffer_ptr
;
while
(
abs_value
>=
100
)
while
(
abs_value
>=
100
)
{
{
const
auto
digits_index
=
static_cast
<
unsigned
>
((
abs_value
%
100
));
const
auto
digits_index
=
static_cast
<
unsigned
>
((
abs_value
%
100
));
...
...
single_include/nlohmann/json.hpp
View file @
dffae108
...
@@ -11520,7 +11520,6 @@ class serializer
...
@@ -11520,7 +11520,6 @@ class serializer
// Fast int2ascii implementation inspired by "Fastware" talk by Andrei Alexandrescu
// Fast int2ascii implementation inspired by "Fastware" talk by Andrei Alexandrescu
// See: https://www.youtube.com/watch?v=o4-CwDo2zpg
// See: https://www.youtube.com/watch?v=o4-CwDo2zpg
const
auto
buffer_end
=
buffer_ptr
;
while
(
abs_value
>=
100
)
while
(
abs_value
>=
100
)
{
{
const
auto
digits_index
=
static_cast
<
unsigned
>
((
abs_value
%
100
));
const
auto
digits_index
=
static_cast
<
unsigned
>
((
abs_value
%
100
));
...
...
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