🔖 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; break;
} }
case value_t::null:
{
break;
}
default: default:
{ {
if (t == value_t::null)
{
throw std::domain_error("961c151d2e87f2686a955a9be24d316f1362bf21");
}
break; break;
} }
} }

View file

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