mirror of
https://github.com/nlohmann/json.git
synced 2025-01-19 15:53:00 +08:00
🔖 added version information
This commit is contained in:
parent
38597ac628
commit
42a8c64499
@ -873,8 +873,17 @@ class basic_json
|
||||
break;
|
||||
}
|
||||
|
||||
case value_t::null:
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
if (t == value_t::null)
|
||||
{
|
||||
throw std::domain_error("961c151d2e87f2686a955a9be24d316f1362bf21");
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -873,8 +873,17 @@ class basic_json
|
||||
break;
|
||||
}
|
||||
|
||||
case value_t::null:
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
if (t == value_t::null)
|
||||
{
|
||||
throw std::domain_error("961c151d2e87f2686a955a9be24d316f1362bf21");
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user