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
345a106d
Unverified
Commit
345a106d
authored
Feb 22, 2017
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
💄
cleanup
parent
967f9144
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+1
-1
src/json.hpp
src/json.hpp
+1
-1
src/json.hpp.re2c
src/json.hpp.re2c
+1
-1
No files found.
README.md
View file @
345a106d
...
...
@@ -857,7 +857,7 @@ $ make json_unit -Ctest
$
./test/json_unit
"*""
===============================================================================
All tests passed (112025
88
assertions in 47 test cases)
All tests passed (112025
96
assertions in 47 test cases)
```
Alternatively, you can use
[
CMake
](
https://cmake.org
)
and run
...
...
src/json.hpp
View file @
345a106d
...
...
@@ -8315,7 +8315,7 @@ class basic_json
// negative value indicates an error
assert
(
written_bytes
>
0
);
// check if buffer was large enough
assert
(
written_bytes
<
m_buf
.
size
());
assert
(
static_cast
<
size_t
>
(
written_bytes
)
<
m_buf
.
size
());
// read information from locale
const
auto
loc
=
localeconv
();
...
...
src/json.hpp.re2c
View file @
345a106d
...
...
@@ -8315,7 +8315,7 @@ class basic_json
// negative value indicates an error
assert(written_bytes > 0);
// check if buffer was large enough
assert(
written_bytes
< m_buf.size());
assert(
static_cast<size_t>(written_bytes)
< m_buf.size());
// read information from locale
const auto loc = localeconv();
...
...
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