💄 minor refactoring

This commit is contained in:
Niels Lohmann 2017-01-29 21:40:37 +01:00
parent 0164b10e10
commit b210f2dbf4
2 changed files with 4 additions and 8 deletions

View file

@ -3036,11 +3036,9 @@ class basic_json
{
return m_value.boolean;
}
else
{
JSON_THROW(std::domain_error("type must be boolean, but is " + type_name()));
}
}
/// get a pointer to the value (object)
object_t* get_impl_ptr(object_t* /*unused*/) noexcept

View file

@ -3036,11 +3036,9 @@ class basic_json
{
return m_value.boolean;
}
else
{
JSON_THROW(std::domain_error("type must be boolean, but is " + type_name()));
}
}
/// get a pointer to the value (object)
object_t* get_impl_ptr(object_t* /*unused*/) noexcept