mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
crimson/common: mark ExitBarrier final
to silence -Wfinal-dtor-non-final-class warnings like operation.h:461:20: warning: class with destructor marked 'final' cannot be inherited from [-Wfinal-dtor-non-final-class] ~ExitBarrier() final { ^ Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
e85d1f759c
commit
da7ea289e5
@ -425,7 +425,7 @@ class OrderedConcurrentPhase : public PipelineStageI {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
class ExitBarrier : public PipelineExitBarrierI {
|
class ExitBarrier final : public PipelineExitBarrierI {
|
||||||
OrderedConcurrentPhase *phase;
|
OrderedConcurrentPhase *phase;
|
||||||
std::optional<seastar::future<>> barrier;
|
std::optional<seastar::future<>> barrier;
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user