From: Danny Al-Gaaf Date: Thu, 26 Apr 2018 20:34:31 +0000 (+0200) Subject: common/buffer.cc: prefer ++operators for non-primitive types X-Git-Tag: v13.1.0~44^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6ac89cad93eb8362eaa3d4c9fdc92314d22b8a0f;p=ceph.git common/buffer.cc: prefer ++operators for non-primitive types Signed-off-by: Danny Al-Gaaf --- diff --git a/src/common/buffer.cc b/src/common/buffer.cc index 24a5c7f0117a..b9b5507a2469 100644 --- a/src/common/buffer.cc +++ b/src/common/buffer.cc @@ -1843,7 +1843,7 @@ public: { // steal the other guy's buffers for (std::list::const_iterator i = bl.buffers().begin(); - i != bl.buffers().end(); i++) { + i != bl.buffers().end(); ++i) { append(*i, 0, i->length()); } bl.clear();