]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
TestErasureCodeShec_all.cc: prefer ++operator for non-primitive iter
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 24 Feb 2015 09:47:07 +0000 (10:47 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 24 Feb 2015 09:47:07 +0000 (10:47 +0100)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/test/erasure-code/TestErasureCodeShec_all.cc

index 22834cb593b509499addfb1e9a9e2af37c710be1..eeedc8e880944693ea154b2cb31179128da837f7 100644 (file)
@@ -317,7 +317,7 @@ int main(int argc, char **argv)
   }
   std::cout << "cannot recovery patterns:" << std::endl;
   for (std::vector<Recover_d>::const_iterator i = cannot_recover.begin();
-       i != cannot_recover.end(); i++) {
+       i != cannot_recover.end(); ++i) {
     std::cout << "---" << std::endl;
     std::cout << "k = " << i->k << ", m = " << i->m << ", c = " << i->c
        << std::endl;