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
This commit is contained in:
Ayappan 2017-04-07 10:41:38 -07:00 committed by Facebook Github Bot
parent c2954f9b6f
commit dd8f9e38e9

View File

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