void CPasswordManager::SaveAuthenticatedURL(const CURL &url, bool saveToProfile)
{
// don't store/save authenticated url if it doesn't contain username
- if (url.GetUserName().IsEmpty())
+ if (url.GetUserName().empty())
return;
CSingleLock lock(m_critSection);
void CPasswordManager::Save() const
{
- if (!m_permanentCache.size())
+ if (m_permanentCache.empty())
return;
CXBMCTinyXML doc;