diff --git a/db/compaction_job.cc b/db/compaction_job.cc index c2a7e32aa..fe35cb35b 100644 --- a/db/compaction_job.cc +++ b/db/compaction_job.cc @@ -127,9 +127,9 @@ struct CompactionJob::SubCompactionState { earliest_snapshot(earliest), visible_at_tip(visible), latest_snapshot(latest) { - assert(compaction != nullptr); - level_ptrs = std::vector(compaction->number_levels(), 0); - } + assert(compaction != nullptr); + level_ptrs = std::vector(compaction->number_levels(), 0); + } SubCompactionState(SubCompactionState&& o) { *this = std::move(o);