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
691fb0c5
Commit
691fb0c5
authored
Jun 16, 2020
by
chenguoping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix issue#2059
parent
e7452d87
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
iteration_proxy.hpp
include/nlohmann/detail/iterators/iteration_proxy.hpp
+2
-1
json.hpp
single_include/nlohmann/json.hpp
+2
-1
No files found.
include/nlohmann/detail/iterators/iteration_proxy.hpp
View file @
691fb0c5
...
@@ -12,7 +12,8 @@ namespace nlohmann
...
@@ -12,7 +12,8 @@ namespace nlohmann
{
{
namespace
detail
namespace
detail
{
{
template
<
typename
string_type
>
template
<
typename
string_type
,
typename
std
::
enable_if
<
std
::
is_same
<
char
,
typename
string_type
::
value_type
>::
value
,
int
>::
type
=
0
>
void
int_to_string
(
string_type
&
target
,
std
::
size_t
value
)
void
int_to_string
(
string_type
&
target
,
std
::
size_t
value
)
{
{
target
=
std
::
to_string
(
value
);
target
=
std
::
to_string
(
value
);
...
...
single_include/nlohmann/json.hpp
View file @
691fb0c5
...
@@ -3650,7 +3650,8 @@ namespace nlohmann
...
@@ -3650,7 +3650,8 @@ namespace nlohmann
{
{
namespace
detail
namespace
detail
{
{
template
<
typename
string_type
>
template
<
typename
string_type
,
typename
std
::
enable_if
<
std
::
is_same
<
char
,
typename
string_type
::
value_type
>::
value
,
int
>::
type
=
0
>
void
int_to_string
(
string_type
&
target
,
std
::
size_t
value
)
void
int_to_string
(
string_type
&
target
,
std
::
size_t
value
)
{
{
target
=
std
::
to_string
(
value
);
target
=
std
::
to_string
(
value
);
...
...
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