]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
itest/msgr/test_msgr.cc: prefer ++operator for non-primitive iter
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 4 Mar 2015 20:23:51 +0000 (21:23 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 11 Mar 2015 12:58:41 +0000 (13:58 +0100)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/test/msgr/test_msgr.cc

index fb6c5a78b76beb1b3156edf5ccee693c29afd4ce..4dcf756cd95c628fd237bb28a8f960eee8f2a3fb 100644 (file)
@@ -667,7 +667,7 @@ class SyntheticDispatcher : public Dispatcher {
     Mutex::Locker l(lock);
     list<uint64_t> c = conn_sent[con];
     for (list<uint64_t>::iterator it = c.begin();
-         it != c.end(); it++)
+         it != c.end(); ++it)
       sent.erase(*it);
     conn_sent.erase(con);
     got_remote_reset = true;