diff options
| author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-12-11 08:44:46 +0100 |
|---|---|---|
| committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-12-11 09:09:46 +0100 |
| commit | 2b9f4b072bfb4129ee8eaaa86b3f068bdd2d581d (patch) | |
| tree | 743ecbb456327ad21d7899eb93c06eb75d890956 /include/cppunit/tools | |
| parent | e8c0def96e6ca4370377747bda1d8a8c0dab4867 (diff) | |
| download | cppunit-2b9f4b072bfb4129ee8eaaa86b3f068bdd2d581d.tar.gz | |
remove support for old broken C++ compilers
Diffstat (limited to 'include/cppunit/tools')
| -rw-r--r-- | include/cppunit/tools/StringTools.h | 4 | ||||
| -rw-r--r-- | include/cppunit/tools/XmlElement.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/cppunit/tools/StringTools.h b/include/cppunit/tools/StringTools.h index 7a6b6d7..d08c6e0 100644 --- a/include/cppunit/tools/StringTools.h +++ b/include/cppunit/tools/StringTools.h @@ -3,7 +3,7 @@ #include <cppunit/Portability.h> #include <string> -#include <cppunit/portability/CppUnitVector.h> +#include <vector> CPPUNIT_NS_BEGIN @@ -14,7 +14,7 @@ CPPUNIT_NS_BEGIN struct StringTools { - typedef CppUnitVector<std::string> Strings; + typedef std::vector<std::string> Strings; static std::string CPPUNIT_API toString( int value ); diff --git a/include/cppunit/tools/XmlElement.h b/include/cppunit/tools/XmlElement.h index 0b36bd2..70e21f8 100644 --- a/include/cppunit/tools/XmlElement.h +++ b/include/cppunit/tools/XmlElement.h @@ -8,7 +8,7 @@ #pragma warning( disable: 4251 ) // X needs to have dll-interface to be used by clients of class Z #endif -#include <cppunit/portability/CppUnitDeque.h> +#include <deque> #include <string> @@ -131,10 +131,10 @@ private: std::string m_name; std::string m_content; - typedef CppUnitDeque<Attribute> Attributes; + typedef std::deque<Attribute> Attributes; Attributes m_attributes; - typedef CppUnitDeque<XmlElement *> Elements; + typedef std::deque<XmlElement *> Elements; Elements m_elements; }; |
