1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-12 09:21:42 +03:00

💄 clean up

This commit is contained in:
Niels Lohmann
2017-01-02 09:21:26 +01:00
parent a3063c2419
commit d173517212
3 changed files with 34 additions and 4 deletions

View File

@ -873,8 +873,17 @@ class basic_json
break;
}
case value_t::null:
{
break;
}
default:
{
if (t == value_t::null)
{
throw std::domain_error("961c151d2e87f2686a955a9be24d316f1362bf21"); // LCOV_EXCL_LINE
}
break;
}
}