]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore: silence gcc warning
authorKefu Chai <kchai@redhat.com>
Sat, 18 Mar 2017 08:39:27 +0000 (16:39 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 18 Mar 2017 08:41:50 +0000 (16:41 +0800)
commit2eb61b6de70e983e7892475ed48ca4ca611d9c51
tree64f8728e65675c369744de53050e7922bf243a45
parent8fbc61a725ab4fd911a848b359c9dca3ec5fb1cb
os/bluestore: silence gcc warning

src/os/bluestore/BitAllocator.h:410:8: warning: ‘virtual bool
BitMapAreaIN::child_check_n_lock(BitMapArea*, int64_t, bool)’ was
hidden    [-Woverloaded-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