aboutsummaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-08-28 14:29:31 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-08-28 14:29:31 +0000
commite642d978d6ec001209cd0d9e4c70743e797f0c16 (patch)
tree0dc561f57a3d96a22546eed0182a4ae482376533 /storage
parent81ae96dc2f3164b024ae57719bb1ebdcfbf813d0 (diff)
Add noexecpt
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/bucketdb/bucketmanager.cpp4
-rw-r--r--storage/src/vespa/storage/storageutil/distributorstatecache.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/storage/src/vespa/storage/bucketdb/bucketmanager.cpp b/storage/src/vespa/storage/bucketdb/bucketmanager.cpp
index d7a0000f270..43a98060be6 100644
--- a/storage/src/vespa/storage/bucketdb/bucketmanager.cpp
+++ b/storage/src/vespa/storage/bucketdb/bucketmanager.cpp
@@ -102,7 +102,7 @@ public:
DistributorInfoGatherer(const lib::ClusterState& systemState,
std::unordered_map<uint16_t, ResultArray>& result,
const lib::Distribution & distribution,
- bool spam);
+ bool spam) noexcept;
StorBucketDatabase::Decision operator()(uint64_t bucketId, const StorBucketDatabase::Entry& data);
@@ -111,7 +111,7 @@ public:
DistributorInfoGatherer::DistributorInfoGatherer(const lib::ClusterState& systemState,
std::unordered_map<uint16_t, ResultArray>& result,
const lib::Distribution & distribution,
- bool spam)
+ bool spam) noexcept
: _state(distribution, systemState),
_result(result),
_spam(spam)
diff --git a/storage/src/vespa/storage/storageutil/distributorstatecache.h b/storage/src/vespa/storage/storageutil/distributorstatecache.h
index 0652a980e3a..7073b141bc9 100644
--- a/storage/src/vespa/storage/storageutil/distributorstatecache.h
+++ b/storage/src/vespa/storage/storageutil/distributorstatecache.h
@@ -10,7 +10,7 @@ namespace storage {
class DistributorStateCache
{
public:
- DistributorStateCache(const lib::Distribution& distr, const lib::ClusterState& state)
+ DistributorStateCache(const lib::Distribution& distr, const lib::ClusterState& state) noexcept
: _distribution(distr),
_state(state),
_distrBitMask(0xffffffffffffffffull),
@@ -36,11 +36,11 @@ public:
return i;
}
- const lib::Distribution& getDistribution() const {
+ const lib::Distribution& getDistribution() const noexcept {
return _distribution;
}
- const lib::ClusterState& getClusterState() const {
+ const lib::ClusterState& getClusterState() const noexcept {
return _state;
}