diff --git a/src/xml-cxx/xml.hxx b/src/xml-cxx/xml.hxx index a4c7e1a..859d0f9 100644 --- a/src/xml-cxx/xml.hxx +++ b/src/xml-cxx/xml.hxx @@ -17,6 +17,7 @@ #include #include #include +#include #include #include @@ -836,10 +837,7 @@ namespace xml { Serialize& persist(std::list& member, const std::string& list, const std::string& item) throw() { - mapName >()[std::make_pair(this, list)] - = &member; - mapMember >()[&member] = list; - _xmlNames[list] = &typeid(TYPE); + _xmlNames[list] = &member; Serialize ser(list); TYPE dummy; ser.persist(dummy, item); @@ -886,31 +884,12 @@ namespace xml { template Serialize& persistSimpleType(TYPE& member, const std::string& name) throw() { - ASSERT("type: "<