From 8e08370217d81822aebf5920c3f2144fcae4bf47 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 18 May 2008 11:14:20 +0000 Subject: [PATCH] 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 --- tests/filename/filenametest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.50.0