diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-02-01 15:21:04 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-02-01 15:21:04 +0000 |
commit | 9ece782152a1f06b00a143d9cebf38c553c5a028 (patch) | |
tree | a6ab7c9f768399b03e7d5e956f122287198413fd /searchlib/src/tests/docstore | |
parent | 179daa38c12471ec9de4e48ec91865c8a336d8a8 (diff) |
Deinline large destructors and clean up some code based on clion hints.
Diffstat (limited to 'searchlib/src/tests/docstore')
-rw-r--r-- | searchlib/src/tests/docstore/store_by_bucket/store_by_bucket_test.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/searchlib/src/tests/docstore/store_by_bucket/store_by_bucket_test.cpp b/searchlib/src/tests/docstore/store_by_bucket/store_by_bucket_test.cpp index b849143427c..13aa1880e8c 100644 --- a/searchlib/src/tests/docstore/store_by_bucket/store_by_bucket_test.cpp +++ b/searchlib/src/tests/docstore/store_by_bucket/store_by_bucket_test.cpp @@ -57,6 +57,7 @@ public: _lastBucketId = bucketId; EXPECT_EQUAL(0, memcmp(buffer, createPayload(bucketId).c_str(), sz)); } + ~VerifyBucketOrder() override; private: uint32_t _lastLid; BucketId _lastBucketId; @@ -64,6 +65,8 @@ private: vespalib::hash_set<uint64_t> _uniqueBucket; }; +VerifyBucketOrder::~VerifyBucketOrder() = default; + TEST("require that StoreByBucket gives bucket by bucket and ordered within") { std::mutex backing_lock; |