From a96a1cc5f1c2086b1a915e9b996f5cd1ab60d5a2 Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Mon, 18 Mar 2013 13:03:30 +0100 Subject: [PATCH] mds/mdstypes.h: prefer prefix ++operator for iterators Signed-off-by: Danny Al-Gaaf --- src/mds/mdstypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds/mdstypes.h b/src/mds/mdstypes.h index c7d678699abb2..cf5c1a7f5cb37 100644 --- a/src/mds/mdstypes.h +++ b/src/mds/mdstypes.h @@ -1250,7 +1250,7 @@ protected: map::iterator it = ref_map.begin(); while (it != ref_map.end()) { out << " " << pin_name(it->first) << "=" << it->second; - it++; + ++it; } #else out << " nref=" << ref; -- 2.39.5