🐛 fix bug in binary constructor
This commit is contained in:
2 files changed
+2
-4
No files matched your search
@@ -2002,8 +2002,7 @@ class basic_json
|
|||||||
|
|
||||||
case value_t::binary:
|
case value_t::binary:
|
||||||
{
|
{
|
||||||
m_value.binary = create<internal_binary_t>(first.m_it.binary_iterator,
|
m_value = *first.m_object->m_value.binary;
|
||||||
last.m_it.binary_iterator);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -17458,8 +17458,7 @@ class basic_json
|
|||||||
|
|
||||||
case value_t::binary:
|
case value_t::binary:
|
||||||
{
|
{
|
||||||
m_value.binary = create<internal_binary_t>(first.m_it.binary_iterator,
|
m_value = *first.m_object->m_value.binary;
|
||||||
last.m_it.binary_iterator);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user