summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-10-28 20:07:43 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-10-28 20:07:43 +0000
commit0815f85d7a1814c4026e6b15e93d8cb88121fe7d (patch)
treec01e42fcf5ba3faac944f3fdf106036e13f13a76
parent45dc0226d18abb281e506927a0264e20c0131edc (diff)
Fixed MSVC6 compilation error
git-svn-id: http://pugixml.googlecode.com/svn/trunk@184 99668b35-9821-0410-8761-19e4c4f06640
-rw-r--r--src/pugixml.cpp2
1 files changed, 2 insertions, 0 deletions
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);