Last .empty() string source cleaning before 2.5.4.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-02-02 13:57:02 +00:00
parent 5c2a509fca
commit 525d858363
17 changed files with 50 additions and 50 deletions

View File

@@ -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;