mirror of
https://github.com/ceph/ceph
synced 2025-02-21 01:47:25 +00:00
librados/librados.cc: prefer prefix ++operator for iterators
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
ebd959b328
commit
7a3e2ee646
@ -1280,7 +1280,7 @@ int librados::Rados::get_pool_stats(std::list<string>& v, string& category,
|
||||
int r = client->get_pool_stats(v, rawresult);
|
||||
for (map<string,::pool_stat_t>::iterator p = rawresult.begin();
|
||||
p != rawresult.end();
|
||||
p++) {
|
||||
++p) {
|
||||
stats_map& c = result[p->first];
|
||||
|
||||
string cat;
|
||||
|
Loading…
Reference in New Issue
Block a user