]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
add constness to PGLog::proc_replica_log
authorLoic Dachary <loic@dachary.org>
Mon, 10 Jun 2013 16:39:47 +0000 (18:39 +0200)
committerLoic Dachary <loic@dachary.org>
Wed, 19 Jun 2013 18:52:23 +0000 (20:52 +0200)
commite11cc1c8c3412127f4ce686c0146c2c3dcc2aea3
treedb72a565d66eff07fe2e97c9405f2b828ccda7d8
parent02b3c552659299c7c7c2e789f0660f0add2f639f
add constness to PGLog::proc_replica_log

The function is made const by replacing a single call to log.objects[]
with log.objects.find. The olog argument is also a const and does not
require any change.

http://tracker.ceph.com/issues/5213 refs #5213

Signed-off-by: Loic Dachary <loic@dachary.org>
src/osd/PGLog.cc
src/osd/PGLog.h