Fix compilation for GCC-5

Summary:
Fixes this issue https://github.com/facebook/rocksdb/issues/2108
Closes https://github.com/facebook/rocksdb/pull/2109

Differential Revision: D4851965

Pulled By: yiwu-arbug

fbshipit-source-id: 6ee807b
main
Ayappan 8 years ago committed by Facebook Github Bot
parent c2954f9b6f
commit dd8f9e38e9
  1. 2
      db/compaction_picker.cc

@ -1154,7 +1154,7 @@ bool LevelCompactionBuilder::SetupOtherInputsIfNeeded() {
if (!compaction_picker_->SetupOtherInputs(
cf_name_, mutable_cf_options_, vstorage_, &start_level_inputs_,
&output_level_inputs_, &parent_index_, base_index_)) {
return nullptr;
return false;
}
compaction_inputs_.push_back(start_level_inputs_);

Loading…
Cancel
Save