Fixed MSVC6 compilation error
git-svn-id: http://pugixml.googlecode.com/svn/trunk@184 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
45dc0226d1
commit
0815f85d7a
@ -1670,12 +1670,14 @@ namespace
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case node_declaration:
|
case node_declaration:
|
||||||
|
{
|
||||||
dest.set_name(source.name());
|
dest.set_name(source.name());
|
||||||
|
|
||||||
for (xml_attribute a = source.first_attribute(); a; a = a.next_attribute())
|
for (xml_attribute a = source.first_attribute(); a; a = a.next_attribute())
|
||||||
dest.append_attribute(a.name()).set_value(a.value());
|
dest.append_attribute(a.name()).set_value(a.value());
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
assert(false);
|
assert(false);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user