@@ -1507,19 +1507,6 @@ namespace json
1507
1507
{ }
1508
1508
#endif
1509
1509
1510
- _String (const _String& other) : web::json::details::_Value(other)
1511
- {
1512
- copy_from (other);
1513
- }
1514
-
1515
- _String& operator =(const _String& other)
1516
- {
1517
- if (this != &other) {
1518
- copy_from (other);
1519
- }
1520
- return *this ;
1521
- }
1522
-
1523
1510
virtual json::value::value_type type () const { return json::value::String; }
1524
1511
1525
1512
virtual const utility::string_t & as_string () const ;
@@ -1559,12 +1546,6 @@ namespace json
1559
1546
format (str);
1560
1547
}
1561
1548
1562
- void copy_from (const _String& other)
1563
- {
1564
- m_string = other.m_string ;
1565
- m_has_escape_char = other.m_has_escape_char ;
1566
- }
1567
-
1568
1549
std::string as_utf8_string () const ;
1569
1550
utf16string as_utf16_string () const ;
1570
1551
@@ -1590,13 +1571,10 @@ namespace json
1590
1571
public:
1591
1572
1592
1573
_Object (bool keep_order) : m_object(keep_order) { }
1593
-
1594
1574
_Object (object::storage_type fields, bool keep_order) : m_object(std::move(fields), keep_order) { }
1595
1575
1596
1576
_ASYNCRTIMP _Object (const _Object& other);
1597
1577
1598
- virtual ~_Object () {}
1599
-
1600
1578
virtual json::object& as_object () { return m_object; }
1601
1579
1602
1580
virtual const json::object& as_object () const { return m_object; }
@@ -1605,7 +1583,7 @@ namespace json
1605
1583
1606
1584
virtual bool has_field (const utility::string_t &) const ;
1607
1585
1608
- _ASYNCRTIMP virtual json::value &index (const utility::string_t &key);
1586
+ virtual json::value &index (const utility::string_t &key);
1609
1587
1610
1588
bool is_equal (const _Object* other) const
1611
1589
{
@@ -1648,8 +1626,6 @@ namespace json
1648
1626
1649
1627
template <typename CharType> friend class json ::details::JSON_Parser;
1650
1628
1651
- _ASYNCRTIMP void map_fields ();
1652
-
1653
1629
template <typename CharType>
1654
1630
void format_impl (std::basic_string<CharType>& str) const
1655
1631
{
0 commit comments