]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/Transaction: do not use anonymous aggregate with member having ctor
authorKefu Chai <kchai@redhat.com>
Fri, 22 May 2020 11:22:28 +0000 (19:22 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 27 May 2020 04:35:11 +0000 (12:35 +0800)
commit0f8243b92105036ec7eda247da2afde1a53525a4
tree6fd96a555f85188c89b3725249400a6a4e834c3f
parentb0a8d09ebde82ab49f3fff50d090bc9f40b7cb5d
os/Transaction: do not use anonymous aggregate with member having ctor

use a single `hint` to replace `hint_type` and `alloc_hint_flags` in
the anonymous union.

this helps to address the compile error reported by GCC-10

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/os/Transaction.cc
src/os/Transaction.h
src/os/bluestore/BlueStore.cc
src/os/filestore/FileStore.cc
src/os/kstore/KStore.cc
src/os/memstore/MemStore.cc