From: Ryan Norton Date: Sun, 21 Nov 2004 17:10:25 +0000 (+0000) Subject: MSVC 6 compilo fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/56863b1608f073d3f67eb924070e6347b878c8b1 MSVC 6 compilo fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/regex/regextest.cpp b/tests/regex/regextest.cpp index be54588c77..d3cb7c62c9 100644 --- a/tests/regex/regextest.cpp +++ b/tests/regex/regextest.cpp @@ -41,6 +41,12 @@ #include "wx/wx.h" #endif + +// many of the tests are specific to the builtin regex lib, so only attempts +// to do them when using the builtin regex lib. +// +#ifdef wxHAS_REGEX_ADVANCED + #include "wx/regex.h" #include "wx/cppunit.h" #include @@ -51,14 +57,7 @@ using CppUnit::TestCase; using CppUnit::TestSuite; using CppUnit::Exception; -using std::vector; -using std::string; - -// many of the tests are specific to the builtin regex lib, so only attempts -// to do them when using the builtin regex lib. -// -#ifdef wxHAS_REGEX_ADVANCED - +using namespace std; /////////////////////////////////////////////////////////////////////////////// // The test case - an instance represents a single test