X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d775fa82354a1f8d5db87ad1d71ab00ef7d9123c..ce76f779c6cfd2155de825021cc645572fe43625:/src/common/sckaddr.cpp diff --git a/src/common/sckaddr.cpp b/src/common/sckaddr.cpp index 2e78e0e2a0..37ad7cf8b1 100644 --- a/src/common/sckaddr.cpp +++ b/src/common/sckaddr.cpp @@ -141,7 +141,7 @@ wxIPV4address::~wxIPV4address() bool wxIPV4address::Hostname(const wxString& name) { // Some people are sometimes fool. - if (name == wxT("")) + if (name.empty()) { wxLogWarning( _("Trying to solve a NULL hostname: giving up") ); return false; @@ -245,7 +245,7 @@ wxIPV6address::~wxIPV6address() bool wxIPV6address::Hostname(const wxString& name) { - if (name == wxT("")) + if (name.empty()) { wxLogWarning( _("Trying to solve a NULL hostname: giving up") ); return false;