summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2006-12-11 14:38:03 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2006-12-11 14:38:03 +0000
commit688bbe92903171db23921b4359871a642d8589ae (patch)
treef1ec64eda51f365e6478cc71b5ffd0145d207f78 /src
parent79769db47c9413a39add063072abfab3b1f35c22 (diff)
More gcc fixes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@21 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src')
-rw-r--r--src/pugixml.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index 43050ed..ebafd48 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -1728,7 +1728,7 @@ namespace pugi
{
}
- xml_node_iterator::xml_node_iterator(const xml_node_struct* ref, const xml_node_struct* prev): _wrap(ref), _prev(prev)
+ xml_node_iterator::xml_node_iterator(const xml_node_struct* ref, const xml_node_struct* prev): _prev(prev), _wrap(ref)
{
}
@@ -1792,7 +1792,7 @@ namespace pugi
{
}
- xml_attribute_iterator::xml_attribute_iterator(const xml_attribute_struct* ref, const xml_attribute_struct* prev): _wrap(ref), _prev(prev)
+ xml_attribute_iterator::xml_attribute_iterator(const xml_attribute_struct* ref, const xml_attribute_struct* prev): _prev(prev), _wrap(ref)
{
}
@@ -1848,23 +1848,23 @@ namespace pugi
{
}
- xml_parser::xml_parser(unsigned int optmsk): _xmldoc(0), _optmsk(optmsk)
+ xml_parser::xml_parser(unsigned int optmsk): _buffer(0), _xmldoc(0), _optmsk(optmsk)
{
}
#ifndef PUGIXML_NO_STL
- xml_parser::xml_parser(std::istream& stream,unsigned int optmsk): _xmldoc(0), _optmsk(optmsk)
+ xml_parser::xml_parser(std::istream& stream,unsigned int optmsk): _buffer(0), _xmldoc(0), _optmsk(optmsk)
{
parse(stream, _optmsk);
}
#endif
- xml_parser::xml_parser(char* xmlstr,unsigned int optmsk): _xmldoc(0), _optmsk(optmsk)
+ xml_parser::xml_parser(char* xmlstr,unsigned int optmsk): _buffer(0), _xmldoc(0), _optmsk(optmsk)
{
parse(xmlstr, _optmsk);
}
- xml_parser::xml_parser(const transfer_ownership_tag& tag, char* xmlstr,unsigned int optmsk): _xmldoc(0), _optmsk(optmsk), _buffer(0)
+ xml_parser::xml_parser(const transfer_ownership_tag& tag, char* xmlstr ,unsigned int optmsk): _buffer(0), _xmldoc(0), _optmsk(optmsk)
{
parse(tag, xmlstr, _optmsk);
}