fixed clang format

This commit is contained in:
Vhuynh25 2022-02-03 09:07:54 -08:00 committed by GitHub
parent c21ae7ea3e
commit 781a40bee1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1774,8 +1774,9 @@ namespace crow
{
if (v.nt == num_type::Floating_point)
{
if(isnan(v.num.d) || isinf(v.num.d)){
CROW_LOG_WARNING << "Invalid JSON value detected (" << v.num.d << "), ignoring" ;
if(isnan(v.num.d) || isinf(v.num.d))
{
CROW_LOG_WARNING << "Invalid JSON value detected (" << v.num.d << "), ignoring";
break;
}
#ifdef _MSC_VER