]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OpRequest: make get_req() return const 13545/head
authorSage Weil <sage@redhat.com>
Mon, 20 Feb 2017 19:21:23 +0000 (14:21 -0500)
committerSage Weil <sage@redhat.com>
Mon, 20 Feb 2017 19:22:08 +0000 (14:22 -0500)
commita4feab5e87bae139ce691cb1edcd9a7de042efa2
treeac67f0ee118cd7d7a13b57064bf85ae34c2a91dd
parenta3f601cbad0f64f2d0cbb2077ef93702768ddf91
osd/OpRequest: make get_req() return const

Anybody who needs a mutable pointer should be calling get_nonconst_ref()
and justify themselves.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OpRequest.h