|
|
@ -1367,7 +1367,7 @@ namespace xml { |
|
|
|
for (xml::Node::size_type i(0); i<node->children(); ++i) { |
|
|
|
for (xml::Node::size_type i(0); i<node->children(); ++i) { |
|
|
|
typename CONTAINER_TYPE::value_type tmp; |
|
|
|
typename CONTAINER_TYPE::value_type tmp; |
|
|
|
Serialize::fromNode(&tmp, (*node)[i]); // reads into tmp
|
|
|
|
Serialize::fromNode(&tmp, (*node)[i]); // reads into tmp
|
|
|
|
insert(tmp); |
|
|
|
this->insert(tmp); |
|
|
|
} |
|
|
|
} |
|
|
|
return is; |
|
|
|
return is; |
|
|
|
} |
|
|
|
} |
|
|
@ -1436,7 +1436,7 @@ namespace xml { |
|
|
|
typename CONTAINER_TYPE::mapped_type data; |
|
|
|
typename CONTAINER_TYPE::mapped_type data; |
|
|
|
Serialize::fromNode(&key, (*node)[i]); // reads into tmp
|
|
|
|
Serialize::fromNode(&key, (*node)[i]); // reads into tmp
|
|
|
|
Serialize::fromNode(&data, (*node)[++i]); // key&value
|
|
|
|
Serialize::fromNode(&data, (*node)[++i]); // key&value
|
|
|
|
insert(typename CONTAINER_TYPE::value_type(key, data)); |
|
|
|
this->insert(typename CONTAINER_TYPE::value_type(key, data)); |
|
|
|
} |
|
|
|
} |
|
|
|
return is; |
|
|
|
return is; |
|
|
|
} |
|
|
|
} |
|
|
|