diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-05-09 16:45:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-05-09 16:45:09 +0200 |
commit | cf2783f792ee634ffbbb36311c9f69956b1d107e (patch) | |
tree | c4a4d4a30451a65c63f3e21e04ac238e5a8ed039 /xsd-frontend/xml.hxx | |
parent | 0bc53d3b22cedbe9e1f773e0a350280aef805eeb (diff) |
Use standard containers instead of ones from libcult
Diffstat (limited to 'xsd-frontend/xml.hxx')
-rw-r--r-- | xsd-frontend/xml.hxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/xsd-frontend/xml.hxx b/xsd-frontend/xml.hxx index e1ff085..95621e1 100644 --- a/xsd-frontend/xml.hxx +++ b/xsd-frontend/xml.hxx @@ -6,13 +6,12 @@ #ifndef XSD_FRONTEND_XML_HXX #define XSD_FRONTEND_XML_HXX +#include <vector> #include <ostream> #include <xercesc/dom/DOM.hpp> #include <xercesc/util/XMLString.hpp> -#include <cult/containers/vector.hxx> - #include <xsd-frontend/types.hxx> #include <xsd-frontend/schema-dom-parser.hxx> @@ -530,13 +529,13 @@ namespace XSDFrontend }; template <typename X> - struct PtrVector: Cult::Containers::Vector<X*> + struct PtrVector: std::vector<X*> { - typedef Cult::Containers::Vector<X*> Base; + typedef std::vector<X*> Base; ~PtrVector () { - for (typename Base::Iterator i (this->begin ()), e (this->end ()); + for (typename Base::iterator i (this->begin ()), e (this->end ()); i != e; ++i) { if (*i) |