DMC fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e3a0d44cd4
commit
f69577be06
@ -45,6 +45,10 @@
|
||||
#include "wx/cppunit.h"
|
||||
#include <stdexcept>
|
||||
|
||||
#ifdef __DMC__
|
||||
#include <locale.h>
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
using namespace CppUnit;
|
||||
|
||||
|
@ -157,10 +157,10 @@ void TestApp::List(Test *test, const string& parent /*=""*/) const
|
||||
cout << " " << name.substr(i + 1) << "\n";
|
||||
}
|
||||
|
||||
typedef const vector<Test*> Tests;
|
||||
typedef vector<Test*> 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);
|
||||
|
Loading…
Reference in New Issue
Block a user