]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: silence gcc warning 13924/head
authorKefu Chai <kchai@redhat.com>
Sat, 11 Mar 2017 09:20:58 +0000 (17:20 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 11 Mar 2017 09:34:38 +0000 (17:34 +0800)
commitb32cd0e9afe8b09383db65815aeca7e58278dcee
tree69304d341dc7dfcb2f1a68579c5cca6c3392558a
parent1bf8f45691aa160d15da5f0f99bf0c0b57549660
os/bluestore: silence gcc warning

silences following warning:

src/os/bluestore/BitAllocator.h:410:8: warning: ‘virtual bool
BitMapAreaIN::child_check_n_lock(BitMapArea*, int64_t, bool)’ was hidden
[-Wover\
loaded-virtual]
   bool child_check_n_lock(BitMapArea *child, int64_t required, bool
lock) {
        ^~~~~~~~~~~~~~~~~~
/var/ceph/ceph/src/os/bluestore/BitAllocator.h:489:8: warning:   by
‘BitMapAreaLeaf::child_check_n_lock’ [-Woverloaded-virtual]
   bool child_check_n_lock(BitMapZone* child, int64_t required, bool
lock);
        ^~~~~~~~~~~~~~~~~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/os/bluestore/BitAllocator.h