aboutsummaryrefslogtreecommitdiffstats
path: root/persistence
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-08-05 12:59:02 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-08-05 12:59:02 +0000
commit2896b2cc5046b04877ffc3d51da584c11b09721d (patch)
tree15cebdeaa3c7373ec10e0992b12e777118bd1ede /persistence
parent0816934a9ada5d9e7a7afca74e755ef7d25b4a24 (diff)
Turn off lint for test marco definitions we can actually use clang-tidy to cleanup our code.
Diffstat (limited to 'persistence')
-rw-r--r--persistence/src/vespa/persistence/spi/bucket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/persistence/src/vespa/persistence/spi/bucket.h b/persistence/src/vespa/persistence/spi/bucket.h
index 874074d7e24..175aba376a9 100644
--- a/persistence/src/vespa/persistence/spi/bucket.h
+++ b/persistence/src/vespa/persistence/spi/bucket.h
@@ -24,8 +24,8 @@ class Bucket {
PartitionId _partition;
public:
- Bucket() : _bucket(document::BucketSpace::invalid(), document::BucketId(0)), _partition(0) {}
- Bucket(const document::Bucket& b, PartitionId p)
+ Bucket() noexcept : _bucket(document::BucketSpace::invalid(), document::BucketId(0)), _partition(0) {}
+ Bucket(const document::Bucket& b, PartitionId p) noexcept
: _bucket(b), _partition(p) {}
const document::Bucket &getBucket() const { return _bucket; }