mirror of
https://github.com/nlohmann/json.git
synced 2026-10-09 16:07:14 +00:00
removed unnecessary code (numbers must not begin with "+")
This commit is contained in:
1 parent
688cd49bdc
commit
85a30813c8
4 files changed
+5
-9
No files matched your search
@@ -8448,10 +8448,6 @@ basic_json_parser_63:
|
||||
{
|
||||
type = value_t::number_unsigned;
|
||||
max = static_cast<uint64_t>(std::numeric_limits<number_unsigned_t>::max());
|
||||
if (*curptr == '+')
|
||||
{
|
||||
curptr++;
|
||||
}
|
||||
}
|
||||
|
||||
// count the significant figures
|
||||
|
||||
@@ -7758,10 +7758,6 @@ class basic_json
|
||||
{
|
||||
type = value_t::number_unsigned;
|
||||
max = static_cast<uint64_t>(std::numeric_limits<number_unsigned_t>::max());
|
||||
if (*curptr == '+')
|
||||
{
|
||||
curptr++;
|
||||
}
|
||||
}
|
||||
|
||||
// count the significant figures
|
||||
|
||||
Reference in new issue
Block a user