🔨 clean up
This commit is contained in:
parent
9fc093c9e0
commit
8d3f4f21bc
11 changed files with 432 additions and 512 deletions
|
@ -279,10 +279,8 @@ class serializer
|
|||
return;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
default: // LCOV_EXCL_LINE
|
||||
assert(false); // LCOV_EXCL_LINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -480,10 +478,8 @@ class serializer
|
|||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
default: // LCOV_EXCL_LINE
|
||||
assert(false); // LCOV_EXCL_LINE
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -545,10 +541,8 @@ class serializer
|
|||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
default: // LCOV_EXCL_LINE
|
||||
assert(false); // LCOV_EXCL_LINE
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -755,7 +749,7 @@ class serializer
|
|||
std::none_of(number_buffer.begin(), number_buffer.begin() + len + 1,
|
||||
[](char c)
|
||||
{
|
||||
return (c == '.' or c == 'e');
|
||||
return c == '.' or c == 'e';
|
||||
});
|
||||
|
||||
if (value_is_int_like)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue