]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/archive/archivetest.cpp
blind compilation fix for CW 8.3 in Unicode build
[wxWidgets.git] / tests / archive / archivetest.cpp
index b9a6191c29086b69ad100ae245f3f3ddffbf487c..1e09053104273ed24fe4f69f7b755864da8a4a68 100644 (file)
@@ -320,7 +320,7 @@ private:
 TempDir::TempDir()
 {
     wxString tmp = wxFileName::CreateTempFileName(_T("arctest-"));
-    if (tmp != wxEmptyString) {
+    if (!tmp.empty()) {
         wxRemoveFile(tmp);
         m_original = wxGetCwd();
         CPPUNIT_ASSERT(wxMkdir(tmp, 0700));
@@ -331,7 +331,7 @@ TempDir::TempDir()
 
 TempDir::~TempDir()
 {
-    if (m_tmp != wxEmptyString) {
+    if (!m_tmp.empty()) {
         wxSetWorkingDirectory(m_original);
         RemoveDir(m_tmp);
     }