Use wxGetEmptyString() so the types in the ?: statement are both wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user