From 0815f85d7a1814c4026e6b15e93d8cb88121fe7d Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Wed, 28 Oct 2009 20:07:43 +0000 Subject: Fixed MSVC6 compilation error git-svn-id: http://pugixml.googlecode.com/svn/trunk@184 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixml.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 302a015..2e17fae 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -1670,12 +1670,14 @@ namespace break; case node_declaration: + { dest.set_name(source.name()); for (xml_attribute a = source.first_attribute(); a; a = a.next_attribute()) dest.append_attribute(a.name()).set_value(a.value()); break; + } default: assert(false); -- cgit v1.2.3