]> git.saurik.com Git - wxWidgets.git/commitdiff
Use wxGetEmptyString() so the types in the ?: statement are both wxString
authorDavid Elliott <dfe@tgwbd.org>
Thu, 10 Jul 2003 12:27:26 +0000 (12:27 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Thu, 10 Jul 2003 12:27:26 +0000 (12:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/http.cpp

index 4a59548bf39c6b67b93052472791dcc8d93b6f9c..9758181c724bd080a3e40c905fde0322e47e008e 100644 (file)
@@ -103,7 +103,7 @@ wxString wxHTTP::GetHeader(const wxString& header) const
 {
     wxHeaderIterator it = FindHeader(header);
 
-    return it == m_headers.end() ? wxEmptyString : it->second;
+    return it == m_headers.end() ? wxGetEmptyString() : it->second;
 }
 
 void wxHTTP::SetPostBuffer(const wxString& post_buf)