summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pugixml.cpp16
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;