summaryrefslogtreecommitdiff
path: root/examples/ClockerPlugIn
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-12-11 08:44:46 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-12-11 09:09:46 +0100
commit2b9f4b072bfb4129ee8eaaa86b3f068bdd2d581d (patch)
tree743ecbb456327ad21d7899eb93c06eb75d890956 /examples/ClockerPlugIn
parente8c0def96e6ca4370377747bda1d8a8c0dab4867 (diff)
downloadcppunit-2b9f4b072bfb4129ee8eaaa86b3f068bdd2d581d.tar.gz
remove support for old broken C++ compilers
Diffstat (limited to 'examples/ClockerPlugIn')
-rw-r--r--examples/ClockerPlugIn/ClockerModel.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/ClockerPlugIn/ClockerModel.h b/examples/ClockerPlugIn/ClockerModel.h
index 46f7ff1..9c48948 100644
--- a/examples/ClockerPlugIn/ClockerModel.h
+++ b/examples/ClockerPlugIn/ClockerModel.h
@@ -7,9 +7,9 @@
#define CLOCKERMODEL_H
#include <cppunit/TestPath.h>
-#include <cppunit/portability/CppUnitVector.h>
-#include <cppunit/portability/CppUnitMap.h>
-#include <cppunit/portability/CppUnitStack.h>
+#include <vector>
+#include <map>
+#include <stack>
#include <string>
#ifdef CLOCKER_USE_WINNTTIMER
@@ -67,7 +67,7 @@ private:
CPPUNIT_NS::TestPath m_path;
Timer m_timer;
bool m_isSuite;
- CppUnitVector<int> m_childIndexes;
+ std::vector<int> m_childIndexes;
};
/// Prevents the use of the copy constructor.
@@ -82,11 +82,11 @@ private:
int m_testCaseCount;
double m_totalTestCaseTime;
- typedef CppUnitMap<CPPUNIT_NS::Test *, int> TestToIndexes;
+ typedef std::map<CPPUNIT_NS::Test *, int> TestToIndexes;
TestToIndexes m_testToIndexes;
- CppUnitStack<int> m_testIndexes;
- CppUnitVector<TestInfo> m_tests;
+ std::stack<int> m_testIndexes;
+ std::vector<TestInfo> m_tests;
};