make check fixed - now warnings deprecated std::auto_ptr → to be fixed later; refs #14

This commit is contained in:
Marc Wäckerlin
2015-02-23 10:29:01 +00:00
parent 72169a5779
commit 01117196eb
2 changed files with 11 additions and 2 deletions

View File

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