]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os/seastore/lba_manager/btree/lba_btree: fix FTBFS on gcc 9
authorSamuel Just <sjust@redhat.com>
Wed, 1 Sep 2021 21:44:14 +0000 (14:44 -0700)
committerSamuel Just <sjust@redhat.com>
Wed, 1 Sep 2021 21:44:14 +0000 (14:44 -0700)
commitd8ce06fc049f1b97426cb4e69decd6750d280f7f
tree86ab05ba77a31acd5c33bcc0b9afc05bc4cb1f9e
parentdb226b99e77fe09d8998db7884f50a4fa0e7f363
crimson/os/seastore/lba_manager/btree/lba_btree: fix FTBFS on gcc 9

gcc-9 doesn't seem to consider interator nothrow move constructible with
the default move constructor implementation yielding the following build
failure:

m/el8/BUILD/ceph-17.0.0-7373-gfc349212/src/seastar/include/seastar/core/future.hh:584:58: error: static assertion failed: Types must be no-throw move constructible
  584 |     static_assert(std::is_nothrow_move_constructible<T>::value,

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/os/seastore/lba_manager/btree/lba_btree.h