mirror of
https://github.com/nlohmann/json.git
synced 2024-11-23 22:19:02 +08:00
🐛 fix bug in binary constructor
This commit is contained in:
parent
3fa94f0755
commit
b036ace235
@ -2002,8 +2002,7 @@ class basic_json
|
||||
|
||||
case value_t::binary:
|
||||
{
|
||||
m_value.binary = create<internal_binary_t>(first.m_it.binary_iterator,
|
||||
last.m_it.binary_iterator);
|
||||
m_value = *first.m_object->m_value.binary;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -17458,8 +17458,7 @@ class basic_json
|
||||
|
||||
case value_t::binary:
|
||||
{
|
||||
m_value.binary = create<internal_binary_t>(first.m_it.binary_iterator,
|
||||
last.m_it.binary_iterator);
|
||||
m_value = *first.m_object->m_value.binary;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user