Inline an empty destructor (#9004)

Summary:
Pull Request resolved: https://github.com/facebook/rocksdb/pull/9004

Inline an empty destructor

Reviewed By: ltamasi

Differential Revision: D31525561

fbshipit-source-id: 3b9e37f06b0c70529a5d2d660de21ea335c73611
main
Yanqin Jin 3 years ago committed by Facebook GitHub Bot
parent 1a79839c59
commit e1139167ae
  1. 2
      utilities/transactions/lock/point/point_lock_manager.cc
  2. 2
      utilities/transactions/lock/point/point_lock_manager.h

@ -114,8 +114,6 @@ PointLockManager::PointLockManager(PessimisticTransactionDB* txn_db,
? opt.custom_mutex_factory
: std::make_shared<TransactionDBMutexFactoryImpl>()) {}
PointLockManager::~PointLockManager() {}
size_t LockMap::GetStripe(const std::string& key) const {
assert(num_stripes_ > 0);
return FastRange64(GetSliceNPHash64(key), num_stripes_);

@ -115,7 +115,7 @@ class PointLockManager : public LockManager {
PointLockManager(const PointLockManager&) = delete;
PointLockManager& operator=(const PointLockManager&) = delete;
~PointLockManager() override;
~PointLockManager() override {}
bool IsPointLockSupported() const override { return true; }

Loading…
Cancel
Save