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
808aca41
Unverified
Commit
808aca41
authored
Jul 25, 2020
by
Niels Lohmann
Committed by
GitHub
Jul 25, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2305 from AODQ/develop
fixes unused variable 'ex' for #2304
parents
63e7c40e
15ec0fe1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
include/nlohmann/detail/input/json_sax.hpp
include/nlohmann/detail/input/json_sax.hpp
+2
-0
single_include/nlohmann/json.hpp
single_include/nlohmann/json.hpp
+2
-0
No files found.
include/nlohmann/detail/input/json_sax.hpp
View file @
808aca41
...
...
@@ -263,6 +263,7 @@ class json_sax_dom_parser
const
Exception
&
ex
)
{
errored
=
true
;
static_cast
<
void
>
(
ex
);
if
(
allow_exceptions
)
{
JSON_THROW
(
ex
);
...
...
@@ -501,6 +502,7 @@ class json_sax_dom_callback_parser
const
Exception
&
ex
)
{
errored
=
true
;
static_cast
<
void
>
(
ex
);
if
(
allow_exceptions
)
{
JSON_THROW
(
ex
);
...
...
single_include/nlohmann/json.hpp
View file @
808aca41
...
...
@@ -5442,6 +5442,7 @@ class json_sax_dom_parser
const Exception& ex)
{
errored = true;
static_cast<void>(ex);
if (allow_exceptions)
{
JSON_THROW(ex);
...
...
@@ -5680,6 +5681,7 @@ class json_sax_dom_callback_parser
const Exception& ex)
{
errored = true;
static_cast<void>(ex);
if (allow_exceptions)
{
JSON_THROW(ex);
...
...
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