Merge pull request #248 from wankai/master

BlockBuilder typo improvement
This commit is contained in:
Igor Canadi 2014-08-28 09:42:31 -04:00
commit 6b46f78434

View File

@ -20,7 +20,10 @@ class Comparator;
class BlockBuilder {
public:
BlockBuilder(int block_builder, const Comparator* comparator);
BlockBuilder(const BlockBuilder&) = delete;
void operator=(const BlockBuilder&) = delete;
BlockBuilder(int block_restart_interval, const Comparator* comparator);
// Reset the contents as if the BlockBuilder was just constructed.
void Reset();
@ -55,10 +58,6 @@ class BlockBuilder {
int counter_; // Number of entries emitted since restart
bool finished_; // Has Finish() been called?
std::string last_key_;
// No copying allowed
BlockBuilder(const BlockBuilder&);
void operator=(const BlockBuilder&);
};
} // namespace rocksdb