]> git.saurik.com Git - wxWidgets.git/commitdiff
MSVC 6 compilo fix
authorRyan Norton <wxprojects@comcast.net>
Sun, 21 Nov 2004 17:10:25 +0000 (17:10 +0000)
committerRyan Norton <wxprojects@comcast.net>
Sun, 21 Nov 2004 17:10:25 +0000 (17:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/regex/regextest.cpp

index be54588c77b9de71597ba7de22f12bb201d0533d..d3cb7c62c96d0f99f48165e9f41bb835e8149613 100644 (file)
     #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 <string>
@@ -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