File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -1573,11 +1573,9 @@ namespace json
1573
1573
_Object (bool keep_order) : m_object(keep_order) { }
1574
1574
_Object (object::storage_type fields, bool keep_order) : m_object(std::move(fields), keep_order) { }
1575
1575
1576
- _ASYNCRTIMP _Object ( const _Object& other);
1576
+ virtual json::object& as_object () { return m_object; }
1577
1577
1578
- virtual json::object& as_object () { return m_object; }
1579
-
1580
- virtual const json::object& as_object () const { return m_object; }
1578
+ virtual const json::object& as_object () const { return m_object; }
1581
1579
1582
1580
virtual json::value::value_type type () const { return json::value::Object; }
1583
1581
@@ -1587,7 +1585,7 @@ namespace json
1587
1585
1588
1586
bool is_equal (const _Object* other) const
1589
1587
{
1590
- if ( m_object.size () != other->m_object .size ())
1588
+ if (m_object.size () != other->m_object .size ())
1591
1589
return false ;
1592
1590
1593
1591
return std::equal (std::begin (m_object), std::end (m_object), std::begin (other->m_object ));
Original file line number Diff line number Diff line change @@ -347,9 +347,6 @@ bool web::json::details::_String::has_escape_chars(const _String &str)
347
347
return str.m_string .find_first_of (escapes.data (), 0 , escapes.size ()) != utility::string_t ::npos;
348
348
}
349
349
350
- web::json::details::_Object::_Object (const _Object& other) :
351
- web::json::details::_Value(other), m_object(other.m_object.m_elements, other.m_object.m_keep_order) {}
352
-
353
350
web::json::value::value_type json::value::type () const { return m_value->type (); }
354
351
355
352
bool json::value::is_integer () const
You can’t perform that action at this time.
0 commit comments