diff options
author | Tor Egge <Tor.Egge@online.no> | 2021-12-11 02:45:14 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2021-12-11 02:45:14 +0100 |
commit | 0109b1a5f3e300cbeb151a91bef027b406cace39 (patch) | |
tree | 87bfe7484f54023265da902e4cfef6b2384d2eb8 /searchcore | |
parent | 60b142c007083c773e910b44cc57d65e7f2c9274 (diff) |
Add noexcept specifiers.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/matching/docid_range_scheduler.h | 2 | ||||
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/matching/matching_stats.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/docid_range_scheduler.h b/searchcore/src/vespa/searchcore/proton/matching/docid_range_scheduler.h index f51043e9960..4aa8a3f6392 100644 --- a/searchcore/src/vespa/searchcore/proton/matching/docid_range_scheduler.h +++ b/searchcore/src/vespa/searchcore/proton/matching/docid_range_scheduler.h @@ -174,7 +174,7 @@ private: std::condition_variable condition; bool is_idle; DocidRange next_range; - Worker() : condition(), is_idle(false), next_range() {} + Worker() noexcept : condition(), is_idle(false), next_range() {} }; DocidRangeSplitter _splitter; uint32_t _min_task; diff --git a/searchcore/src/vespa/searchcore/proton/matching/matching_stats.h b/searchcore/src/vespa/searchcore/proton/matching/matching_stats.h index 7cdf8991fb4..047c6fcaf13 100644 --- a/searchcore/src/vespa/searchcore/proton/matching/matching_stats.h +++ b/searchcore/src/vespa/searchcore/proton/matching/matching_stats.h @@ -67,7 +67,7 @@ public: Avg _wait_time; friend MatchingStats; public: - Partition() + Partition() noexcept : _docsCovered(0), _docsMatched(0), _docsRanked(0), |