diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-10-08 08:36:58 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-10-08 08:36:58 +0000 |
commit | af061e49b017d10f2b162d80b9c5228285c0ef11 (patch) | |
tree | 64a43d89ab272ff07cc34df5d861cc9c9e761e43 /storage/src/tests/common/teststorageapp.h | |
parent | e0956c74c9d0a756140b0cf62468a813cb6d9fd0 (diff) |
Use vespalib::Lock -> std::mutex
Diffstat (limited to 'storage/src/tests/common/teststorageapp.h')
-rw-r--r-- | storage/src/tests/common/teststorageapp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/storage/src/tests/common/teststorageapp.h b/storage/src/tests/common/teststorageapp.h index 218e7352f04..03936d37788 100644 --- a/storage/src/tests/common/teststorageapp.h +++ b/storage/src/tests/common/teststorageapp.h @@ -141,16 +141,16 @@ class TestDistributorApp : public TestStorageApp, public UniqueTimeCalculator { DistributorComponentRegisterImpl& _compReg; - vespalib::Lock _accessLock; + std::mutex _accessLock; uint64_t _lastUniqueTimestampRequested; uint32_t _uniqueTimestampCounter; void configure(vespalib::stringref configId); public: - TestDistributorApp(vespalib::stringref configId = ""); - TestDistributorApp(NodeIndex index, vespalib::stringref configId = ""); - ~TestDistributorApp(); + explicit TestDistributorApp(vespalib::stringref configId = ""); + explicit TestDistributorApp(NodeIndex index, vespalib::stringref configId = ""); + ~TestDistributorApp() override; DistributorComponentRegisterImpl& getComponentRegister() { return _compReg; |