From f69577be06770f2039acfd3d694581a8a3806dc7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 25 Apr 2004 11:06:02 +0000 Subject: [PATCH] DMC fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/regex/regex.cpp | 4 ++++ tests/test.cpp | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/regex/regex.cpp b/tests/regex/regex.cpp index d2eb0d4..27517c8 100644 --- a/tests/regex/regex.cpp +++ b/tests/regex/regex.cpp @@ -45,6 +45,10 @@ #include "wx/cppunit.h" #include +#ifdef __DMC__ + #include +#endif + using namespace std; using namespace CppUnit; diff --git a/tests/test.cpp b/tests/test.cpp index 2ed6484..040ed7e 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -157,10 +157,10 @@ void TestApp::List(Test *test, const string& parent /*=""*/) const cout << " " << name.substr(i + 1) << "\n"; } - typedef const vector Tests; + typedef vector Tests; typedef Tests::const_iterator Iter; - Tests& tests = suite->getTests(); + const Tests& tests = suite->getTests(); for (Iter it = tests.begin(); it != tests.end(); ++it) List(*it, name); -- 2.7.4