fix unity build

main
Torrie Fischer 11 years ago
parent 6f0964e37c
commit ed9a2df8cc
  1. 2
      utilities/write_batch_with_index/write_batch_with_index.cc

@ -10,7 +10,6 @@
#include "util/arena.h" #include "util/arena.h"
namespace rocksdb { namespace rocksdb {
namespace {
class ReadableWriteBatch : public WriteBatch { class ReadableWriteBatch : public WriteBatch {
public: public:
explicit ReadableWriteBatch(size_t reserved_bytes = 0) explicit ReadableWriteBatch(size_t reserved_bytes = 0)
@ -20,7 +19,6 @@ class ReadableWriteBatch : public WriteBatch {
Status GetEntryFromDataOffset(size_t data_offset, WriteType* type, Slice* Key, Status GetEntryFromDataOffset(size_t data_offset, WriteType* type, Slice* Key,
Slice* value, Slice* blob) const; Slice* value, Slice* blob) const;
}; };
} // namespace
// Key used by skip list, as the binary searchable index of WriteBatchWithIndex. // Key used by skip list, as the binary searchable index of WriteBatchWithIndex.
struct WriteBatchIndexEntry { struct WriteBatchIndexEntry {

Loading…
Cancel
Save