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
This commit is contained in:
Yanqin Jin 2021-10-11 18:12:48 -07:00 committed by Facebook GitHub Bot
parent 1a79839c59
commit e1139167ae
2 changed files with 1 additions and 3 deletions

View file

@ -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_);

View file

@ -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; }