[cstdstring] remove CStdString::Empty and replace with std::string::clear
[vuplus_xbmc] / xbmc / network / DNSNameCache.cpp
index 0866fbe..56b76fb 100644 (file)
@@ -44,7 +44,7 @@ bool CDNSNameCache::Lookup(const CStdString& strHostName, CStdString& strIpAddre
 
   // first see if this is already an ip address
   unsigned long address = inet_addr(strHostName.c_str());
-  strIpAddress.Empty();
+  strIpAddress.clear();
 
   if (address != INADDR_NONE)
   {