From: Vadim Zeitlin Date: Thu, 30 Sep 2004 08:23:28 +0000 (+0000) Subject: compilation fix for wxGetEmptyString() with wxUSE_STL == 1 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/12f99210852052aad51b7a4e01be514e8abe275e?ds=inline 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 --- 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()