Remove returns of wxEmptyString

This commit is contained in:
Paul Cornett
2017-02-18 11:26:40 -08:00
parent 32535f5bf6
commit 6169ced23f
8 changed files with 47 additions and 37 deletions

View File

@@ -490,11 +490,11 @@ bool wxArrayString::operator==(const wxArrayString& a) const
wxString wxJoin(const wxArrayString& arr, const wxChar sep, const wxChar escape)
{
wxString str;
size_t count = arr.size();
if ( count == 0 )
return wxEmptyString;
wxString str;
return str;
// pre-allocate memory using the estimation of the average length of the
// strings in the given array: this is very imprecise, of course, but