🚨 fix -Wextra-semi-stmt warnings
This commit is contained in:
parent
312f2533a4
commit
79b682a438
@ -94,7 +94,7 @@ struct external_constructor<value_t::binary>
|
|||||||
{
|
{
|
||||||
j.m_value.destroy(j.m_type);
|
j.m_value.destroy(j.m_type);
|
||||||
j.m_type = value_t::binary;
|
j.m_type = value_t::binary;
|
||||||
j.m_value = typename BasicJsonType::binary_t(std::move(b));;
|
j.m_value = typename BasicJsonType::binary_t(std::move(b));
|
||||||
j.assert_invariant();
|
j.assert_invariant();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@ -58,7 +58,7 @@ class binary_writer
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
JSON_THROW(type_error::create(317, "to serialize to BSON, top-level type must be object, but is " + std::string(j.type_name()), j));;
|
JSON_THROW(type_error::create(317, "to serialize to BSON, top-level type must be object, but is " + std::string(j.type_name()), j));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user