]> granicus.if.org Git - taglib/commitdiff
convert "" comparison to use built in empty() function
authorBenjamin Meyer <ben@meyerhome.net>
Mon, 22 Nov 2004 20:08:11 +0000 (20:08 +0000)
committerBenjamin Meyer <ben@meyerhome.net>
Mon, 22 Nov 2004 20:08:11 +0000 (20:08 +0000)
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@365215 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

ape/apeitem.cpp

index a211220b4eeaab3a8a2916068be7f8a9979ae081..d4a25d296a43034eea64159db1a76e145739f896 100644 (file)
@@ -121,7 +121,7 @@ bool APE::Item::isEmpty() const
     case 1:
       if(d->text.isEmpty())
         return true;
-      if(d->text.size() == 1 && d->text.front() == "")
+      if(d->text.size() == 1 && d->text.front().isEmpty())
         return true;
       return false;
     case 2: