From 12f99210852052aad51b7a4e01be514e8abe275e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 30 Sep 2004 08:23:28 +0000 Subject: [PATCH] compilation fix for wxGetEmptyString() with wxUSE_STL == 1 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/string.h b/include/wx/string.h index 56ef478ee8..6758399c79 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -1287,7 +1287,7 @@ public: #if wxUSE_STL // return an empty wxString (not very useful with wxUSE_STL == 1) - inline const wxString wxGetEmptyString() { wxString(); } + inline const wxString wxGetEmptyString() { return wxString(); } #else // !wxUSE_STL // return an empty wxString (more efficient than wxString() here) inline const wxString& wxGetEmptyString() -- 2.50.0