💄 clean up

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

No files matched your search

+9
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;
}
}
+9
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;
}
}