This variant is error prone, better to be explicit.
Signed-off-by: Samuel Just <sjust@redhat.com>
IOInterruptCondition::IOInterruptCondition(Ref<PG>& pg, epoch_t e)
: pg(pg), e(e) {}
-IOInterruptCondition::IOInterruptCondition(Ref<PG>& pg)
- : pg(pg), e(pg->get_osdmap_epoch()) {}
IOInterruptCondition::~IOInterruptCondition() {
// for the sake of forward declaring PG (which is a detivate of
class IOInterruptCondition {
public:
IOInterruptCondition(Ref<PG>& pg, epoch_t e);
- IOInterruptCondition(Ref<PG>& pg);
~IOInterruptCondition();
bool new_interval_created();