💚 fix build
This commit is contained in:
parent
561fe8959c
commit
cc218b7e80
@ -3158,14 +3158,14 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec
|
|||||||
|
|
||||||
/// @brief updates a JSON object from another object, overwriting existing keys
|
/// @brief updates a JSON object from another object, overwriting existing keys
|
||||||
/// @sa https://json.nlohmann.me/api/basic_json/update/
|
/// @sa https://json.nlohmann.me/api/basic_json/update/
|
||||||
void update(const_reference j)
|
void update(const_reference j, bool merge_objects = false)
|
||||||
{
|
{
|
||||||
update(j.begin(), j.end(), merge_objects);
|
update(j.begin(), j.end(), merge_objects);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @brief updates a JSON object from another object, overwriting existing keys
|
/// @brief updates a JSON object from another object, overwriting existing keys
|
||||||
/// @sa https://json.nlohmann.me/api/basic_json/update/
|
/// @sa https://json.nlohmann.me/api/basic_json/update/
|
||||||
void update(const_iterator first, const_iterator last)
|
void update(const_iterator first, const_iterator last, bool merge_objects = false)
|
||||||
{
|
{
|
||||||
// implicitly convert null value to an empty object
|
// implicitly convert null value to an empty object
|
||||||
if (is_null())
|
if (is_null())
|
||||||
|
|||||||
@ -20659,14 +20659,14 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec
|
|||||||
|
|
||||||
/// @brief updates a JSON object from another object, overwriting existing keys
|
/// @brief updates a JSON object from another object, overwriting existing keys
|
||||||
/// @sa https://json.nlohmann.me/api/basic_json/update/
|
/// @sa https://json.nlohmann.me/api/basic_json/update/
|
||||||
void update(const_reference j)
|
void update(const_reference j, bool merge_objects = false)
|
||||||
{
|
{
|
||||||
update(j.begin(), j.end(), merge_objects);
|
update(j.begin(), j.end(), merge_objects);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @brief updates a JSON object from another object, overwriting existing keys
|
/// @brief updates a JSON object from another object, overwriting existing keys
|
||||||
/// @sa https://json.nlohmann.me/api/basic_json/update/
|
/// @sa https://json.nlohmann.me/api/basic_json/update/
|
||||||
void update(const_iterator first, const_iterator last)
|
void update(const_iterator first, const_iterator last, bool merge_objects = false)
|
||||||
{
|
{
|
||||||
// implicitly convert null value to an empty object
|
// implicitly convert null value to an empty object
|
||||||
if (is_null())
|
if (is_null())
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user