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
22bc0227
Commit
22bc0227
authored
Dec 07, 2015
by
Niels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added change from #140
parent
72476b42
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
README.md
README.md
+1
-0
src/json.hpp
src/json.hpp
+4
-2
src/json.hpp.re2c
src/json.hpp.re2c
+4
-2
No files found.
README.md
View file @
22bc0227
...
...
@@ -382,6 +382,7 @@ I deeply appreciate the help of the following people.
-
[
dariomt
](
https://github.com/dariomt
)
fixed a subtlety in MSVC type support.
-
[
ZahlGraf
](
https://github.com/ZahlGraf
)
added a workaround that allows compilation using Android NDK.
-
[
Eau Claire
](
https://github.com/whackashoe
)
replaced a function that was marked as unsafe by Visual Studio.
-
[
406345
](
https://github.com/406345
)
fixed two small warnings.
Thanks a lot for helping out!
...
...
src/json.hpp
View file @
22bc0227
...
...
@@ -4703,7 +4703,9 @@ class basic_json
};
// print character c as \uxxxx
for
(
const
char
m
:
{
'u'
,
'0'
,
'0'
,
hexify
(
c
>>
4
),
hexify
(
c
&
0x0f
)
})
for
(
const
char
m
:
{
'u'
,
'0'
,
'0'
,
hexify
(
c
>>
4
),
hexify
(
c
&
0x0f
)
})
{
result
[
++
pos
]
=
m
;
}
...
...
@@ -4937,7 +4939,7 @@ class basic_json
static
constexpr
difference_type
end_value
=
begin_value
+
1
;
/// iterator as signed integer type
difference_type
m_it
=
std
::
numeric_limits
<
std
::
ptrdiff_t
>::
min
();
difference_type
m_it
=
std
::
numeric_limits
<
std
::
ptrdiff_t
>::
denorm_
min
();
};
/*!
...
...
src/json.hpp.re2c
View file @
22bc0227
...
...
@@ -4703,7 +4703,9 @@ class basic_json
};
// print character c as \uxxxx
for(const char m : { 'u', '0', '0', hexify(c >> 4), hexify(c & 0x0f) })
for (const char m :
{ 'u', '0', '0', hexify(c >> 4), hexify(c & 0x0f)
})
{
result[++pos] = m;
}
...
...
@@ -4937,7 +4939,7 @@ class basic_json
static constexpr difference_type end_value = begin_value + 1;
/// iterator as signed integer type
difference_type m_it = std::numeric_limits<std::ptrdiff_t>::min();
difference_type m_it = std::numeric_limits<std::ptrdiff_t>::
denorm_
min();
};
/*!
...
...
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