]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
OSDMap: make apply_incremental take a const argument
authorSamuel Just <sam.just@inktank.com>
Wed, 19 Dec 2012 18:32:52 +0000 (10:32 -0800)
committerSamuel Just <sam.just@inktank.com>
Wed, 19 Dec 2012 18:32:52 +0000 (10:32 -0800)
commit2395af9f7a7224491f023be97cd592bc9f5709dc
treed704bc70deb6a505573e687d998d27080cc18112
parent212f6b56d1269c04621e36b7900032b8a27ef386
OSDMap: make apply_incremental take a const argument

This requires us to copy bufferlists in two cases since bufferlist
does not have a const interator at this time.

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/OSDMap.cc
src/osd/OSDMap.h