We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 536e997 + 528a11c commit 6b46f78Copy full SHA for 6b46f78
table/block_builder.h
@@ -20,8 +20,11 @@ class Comparator;
20
21
class BlockBuilder {
22
public:
23
- BlockBuilder(int block_builder, const Comparator* comparator);
24
-
+ BlockBuilder(const BlockBuilder&) = delete;
+ void operator=(const BlockBuilder&) = delete;
25
+
26
+ BlockBuilder(int block_restart_interval, const Comparator* comparator);
27
28
// Reset the contents as if the BlockBuilder was just constructed.
29
void Reset();
30
@@ -55,10 +58,6 @@ class BlockBuilder {
55
58
int counter_; // Number of entries emitted since restart
56
59
bool finished_; // Has Finish() been called?
57
60
std::string last_key_;
- // No copying allowed
- BlockBuilder(const BlockBuilder&);
61
- void operator=(const BlockBuilder&);
62
};
63
64
} // namespace rocksdb
0 commit comments