Fix OSX compile

main
Igor Canadi 11 years ago
parent a618691a3b
commit c489499a2b
  1. 2
      db/version_set.h
  2. 2
      table/block_based_table_reader.h

@ -219,7 +219,7 @@ class Version {
friend class UniversalCompactionPicker; friend class UniversalCompactionPicker;
class LevelFileNumIterator; class LevelFileNumIterator;
struct LevelFileIteratorState; class LevelFileIteratorState;
bool PrefixMayMatch(const ReadOptions& options, Iterator* level_iter, bool PrefixMayMatch(const ReadOptions& options, Iterator* level_iter,
const Slice& internal_prefix) const; const Slice& internal_prefix) const;

@ -111,7 +111,7 @@ class BlockBasedTable : public TableReader {
Rep* rep_; Rep* rep_;
bool compaction_optimized_; bool compaction_optimized_;
struct BlockEntryIteratorState; class BlockEntryIteratorState;
static Iterator* NewDataBlockIterator(Rep* rep, const ReadOptions& ro, static Iterator* NewDataBlockIterator(Rep* rep, const ReadOptions& ro,
bool* didIO, const Slice& index_value); bool* didIO, const Slice& index_value);

Loading…
Cancel
Save