add tests for number types

This commit is contained in:
Niels Lohmann
2020-07-09 22:07:07 +02:00
parent 612f326052
commit 3aa4c0b827
4 changed files with 133 additions and 4 deletions
+2 -2
View File
@@ -942,7 +942,7 @@ class lexer : public lexer_base<BasicJsonType>
if (str_end != nullptr)
{
*str_end = (char*)p;
*str_end = const_cast<char*>(p);
}
return val;
@@ -978,7 +978,7 @@ class lexer : public lexer_base<BasicJsonType>
if (str_end != nullptr)
{
*str_end = (char*)p;
*str_end = const_cast<char*>(p);
}
return val;