[FRAGINATOR]
authorPierre Schweitzer <pierre@reactos.org>
Thu, 6 Oct 2011 20:24:19 +0000 (20:24 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Thu, 6 Oct 2011 20:24:19 +0000 (20:24 +0000)
Use vector<>::empty() instead of vector<>::size() to check for vector emptyness

svn path=/trunk/; revision=54031

rosapps/applications/fraginator/Defragment.cpp

index e62c860..1998448 100644 (file)
@@ -328,7 +328,7 @@ void Defragment::Start (void)
             continue;\r
 \r
         // Can't defrag 0 byte files :)\r
-        if (Info.Fragments.size() == 0)\r
+        if (Info.Fragments.empty())\r
             continue;\r
 \r
         // If doing fast defrag, skip non-fragmented files\r