From: Vadim Zeitlin Date: Sun, 18 May 2008 11:14:20 +0000 (+0000) Subject: work around VC7 compiler bug resulting in a warning about FileNameTest being never... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8e08370217d81822aebf5920c3f2144fcae4bf47?ds=inline work around VC7 compiler bug resulting in a warning about FileNameTest being never instantiatable git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/filename/filenametest.cpp b/tests/filename/filenametest.cpp index 4145a2217e..76fd4834f1 100644 --- a/tests/filename/filenametest.cpp +++ b/tests/filename/filenametest.cpp @@ -286,11 +286,11 @@ void FileNameTestCase::TestNormalize() if (cwd.Contains(wxT(':'))) cwd = cwd.AfterFirst(wxT(':')); - static struct FileNameTest + static const struct FileNameTest { - const wxString original; + wxString original; int flags; - const wxString expected; + wxString expected; } tests[] = { // test wxPATH_NORM_ENV_VARS