mirror of
https://github.com/nlohmann/json.git
synced 2026-10-08 15:37:13 +00:00
change c-style cast to static_cast for #2304
This commit is contained in:
1 parent
12885446d8
commit
15ec0fe150
2 files changed
+4
-4
No files matched your search
@@ -5441,7 +5441,7 @@ class json_sax_dom_parser
|
||||
const Exception& ex)
|
||||
{
|
||||
errored = true;
|
||||
(void)ex;
|
||||
static_cast<void>(ex);
|
||||
if (allow_exceptions)
|
||||
{
|
||||
JSON_THROW(ex);
|
||||
@@ -5680,7 +5680,7 @@ class json_sax_dom_callback_parser
|
||||
const Exception& ex)
|
||||
{
|
||||
errored = true;
|
||||
(void)ex;
|
||||
static_cast<void>(ex);
|
||||
if (allow_exceptions)
|
||||
{
|
||||
JSON_THROW(ex);
|
||||
|
||||
Reference in new issue
Block a user