1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-13 20:21:48 +03:00

🔖 added version information

This commit is contained in:
Niels Lohmann
2016-12-30 12:28:52 +01:00
parent 38597ac628
commit 42a8c64499
2 changed files with 18 additions and 0 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");
}
break;
}
}