Author: pschweitzer
Date: Thu Oct 6 20:24:19 2011
New Revision: 54031
URL:
http://svn.reactos.org/svn/reactos?rev=54031&view=rev
Log:
[FRAGINATOR]
Use vector<>::empty() instead of vector<>::size() to check for vector
emptyness
Modified:
trunk/rosapps/applications/fraginator/Defragment.cpp
Modified: trunk/rosapps/applications/fraginator/Defragment.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/fraginator/De…
==============================================================================
--- trunk/rosapps/applications/fraginator/Defragment.cpp [iso-8859-1] (original)
+++ trunk/rosapps/applications/fraginator/Defragment.cpp [iso-8859-1] Thu Oct 6 20:24:19
2011
@@ -328,7 +328,7 @@
continue;
// Can't defrag 0 byte files :)
- if (Info.Fragments.size() == 0)
+ if (Info.Fragments.empty())
continue;
// If doing fast defrag, skip non-fragmented files