Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Zhang <[email protected]>
  • Loading branch information
v01dstar committed Jan 3, 2024
1 parent f66ad99 commit 842ec98
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/db_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,13 @@ class TitanCompactionFilter;

class TitanColumnFamilyHandle : public rocksdb::ColumnFamilyHandleImpl {
public:
TitanColumnFamilyHandle(
rocksdb::ColumnFamilyHandleImpl* rocks_cf_handle,
std::shared_ptr<BlobStorage> blob_storage)
TitanColumnFamilyHandle(rocksdb::ColumnFamilyHandleImpl* rocks_cf_handle,
std::shared_ptr<BlobStorage> blob_storage)
: rocksdb::ColumnFamilyHandleImpl(*rocks_cf_handle),
rocks_cf_handle_(rocks_cf_handle),
blob_storage_(blob_storage) {}

~TitanColumnFamilyHandle() {
delete rocks_cf_handle_;
}
~TitanColumnFamilyHandle() { delete rocks_cf_handle_; }

std::shared_ptr<BlobStorage> GetBlobStorage() { return blob_storage_; }

Expand Down

0 comments on commit 842ec98

Please sign in to comment.