change c-style cast to static_cast for #2304

This commit is contained in:
aodq 2020-07-24 16:21:30 -04:00
parent 12885446d8
commit 15ec0fe150
2 changed files with 4 additions and 4 deletions

View file

@ -263,7 +263,7 @@ class json_sax_dom_parser
const Exception& ex)
{
errored = true;
(void)ex;
static_cast<void>(ex);
if (allow_exceptions)
{
JSON_THROW(ex);
@ -502,7 +502,7 @@ class json_sax_dom_callback_parser
const Exception& ex)
{
errored = true;
(void)ex;
static_cast<void>(ex);
if (allow_exceptions)
{
JSON_THROW(ex);

View file

@ -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);