1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-29 23:01:16 +03:00

Fix extra ";" clang warnings

This commit is contained in:
Pierre Hallot
2021-08-19 17:04:34 +02:00
parent 44ffaa052c
commit 433604843d
4 changed files with 5 additions and 5 deletions

View File

@ -4602,7 +4602,7 @@ struct external_constructor<value_t::binary>
{
j.m_value.destroy(j.m_type);
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();
}
};
@ -13617,7 +13617,7 @@ class binary_writer
case value_t::discarded:
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));
}
}
}