mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-26 07:30:54 +00:00
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:
parent
1a79839c59
commit
e1139167ae
|
@ -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…
Reference in a new issue