mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
rgw/rgw_torrent.cc: prefer ++operator for non-primitive iterators
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
21a797f823
commit
a8f4d635b4
@ -160,7 +160,7 @@ int seed::sha1_process()
|
||||
|
||||
SHA1 h;
|
||||
list<bufferlist>::iterator iter = torrent_bl.begin();
|
||||
for (; iter != torrent_bl.end(); iter++)
|
||||
for (; iter != torrent_bl.end(); ++iter)
|
||||
{
|
||||
bufferlist &bl_info = *iter;
|
||||
sha1(&h, bl_info, (*iter).length());
|
||||
|
Loading…
Reference in New Issue
Block a user