From c489499a2b4b3670d2e110588f9e1acfa00119dc Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Sat, 26 Apr 2014 17:15:43 -0400 Subject: [PATCH] Fix OSX compile --- db/version_set.h | 2 +- table/block_based_table_reader.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/version_set.h b/db/version_set.h index c8297f8ec..13a138341 100644 --- a/db/version_set.h +++ b/db/version_set.h @@ -219,7 +219,7 @@ class Version { friend class UniversalCompactionPicker; class LevelFileNumIterator; - struct LevelFileIteratorState; + class LevelFileIteratorState; bool PrefixMayMatch(const ReadOptions& options, Iterator* level_iter, const Slice& internal_prefix) const; diff --git a/table/block_based_table_reader.h b/table/block_based_table_reader.h index fbe47272e..f68d6423d 100644 --- a/table/block_based_table_reader.h +++ b/table/block_based_table_reader.h @@ -111,7 +111,7 @@ class BlockBasedTable : public TableReader { Rep* rep_; bool compaction_optimized_; - struct BlockEntryIteratorState; + class BlockEntryIteratorState; static Iterator* NewDataBlockIterator(Rep* rep, const ReadOptions& ro, bool* didIO, const Slice& index_value);