diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-05-01 21:09:26 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-05-01 21:09:26 -0700 |
commit | 3915f7b14430271905f4a4c808725304777e16c4 (patch) | |
tree | 1ba4421cbfa81c4c871dd47ef953e2738c52a83e | |
parent | bc5eb22b715322b244f07829a2815b1441dabf20 (diff) |
Rename compact_string to compact_string_fat
-rw-r--r-- | src/pugixml.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 654b1e8..f8762bf 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -892,14 +892,14 @@ PUGI__NS_BEGIN uint16_t _data; }; - template <int header_offset> class compact_string + template <int header_offset> class compact_string_fat { public: - compact_string(): _data0(0), _data1(0), _data2(0) + compact_string_fat(): _data0(0), _data1(0), _data2(0) { } - void operator=(const compact_string& rhs) + void operator=(const compact_string_fat& rhs) { *this = rhs + 0; } @@ -974,8 +974,8 @@ namespace pugi unsigned char padding; - impl::compact_string<4> name; - impl::compact_string<7> value; + impl::compact_string_fat<4> name; + impl::compact_string_fat<7> value; impl::compact_pointer<xml_attribute_struct, 10> prev_attribute_c; impl::compact_pointer<xml_attribute_struct, 11, 0> next_attribute; @@ -990,11 +990,11 @@ namespace pugi impl::compact_header header; - impl::compact_string<3> name; - impl::compact_string<6> value; - unsigned char padding; + impl::compact_string_fat<4> name; + impl::compact_string_fat<7> value; + impl::compact_pointer_parent<xml_node_struct, 10> parent; impl::compact_pointer<xml_node_struct, 12, 0> first_child; |