diff options
-rw-r--r-- | src/pugixml.cpp | 2 |
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);
|