rocksdb/utilities/write_batch_with_index
Giuseppe Ottaviano 4d7c06cedf Make WriteBatchWithIndex moveble
Summary:
`WriteBatchWithIndex` has an incorrect implicitly-generated move constructor (it will copy the pointer causing a double-free on destruction). Just switch to `unique_ptr` so we get correct move semantics for free.
Closes https://github.com/facebook/rocksdb/pull/1899

Differential Revision: D4598896

Pulled By: ajkr

fbshipit-source-id: 2373d47
2017-02-22 17:54:11 -08:00
..
write_batch_with_index.cc Make WriteBatchWithIndex moveble 2017-02-22 17:54:11 -08:00
write_batch_with_index_internal.cc Avoid calling GetDBOptions() inside GetFromBatchAndDB() 2016-10-18 13:19:26 -07:00
write_batch_with_index_internal.h Avoid calling GetDBOptions() inside GetFromBatchAndDB() 2016-10-18 13:19:26 -07:00
write_batch_with_index_test.cc Add SeekForPrev() to Iterator 2016-09-27 18:20:57 -07:00