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

master
Marc Wäckerlin 10 years ago
parent 72169a5779
commit 01117196eb
  1. 9
      ChangeLog
  2. 4
      src/xml-cxx/xml.hxx

@ -1,3 +1,12 @@
2015-02-19 08:45 marc
* AUTHORS, ChangeLog, INSTALL, README, ax_cxx_compile_stdcxx_11.m4,
configure.ac, configure.in, debian/changelog.in, debian/control,
debian/control.in, debian/rules, doc/doxyfile.in,
doc/makefile.am, libxml-cxx.spec.in, makefile.am,
src/libxml-cxx.pc.in, src/version.cxx.in: new build rules, same
changes as in ticket 12 of mrw-c++; refs #14
2013-01-25 14:37 marc 2013-01-25 14:37 marc
* libxml-cxx.spec.in: fix fedora-18 bug; closes #13 * libxml-cxx.spec.in: fix fedora-18 bug; closes #13

@ -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;
} }

Loading…
Cancel
Save