diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-07-27 15:36:26 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-07-27 15:36:26 +0000 |
commit | 8d391112a29c147941ea392dc550b9ff7841419b (patch) | |
tree | 3dbdebf9612e4d27d2f049c431506822bd631caa /searchcore | |
parent | d67762498f30449669bb961bfb0b0744d86f0957 (diff) |
Add noexcept
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/matching/querynodes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/querynodes.cpp b/searchcore/src/vespa/searchcore/proton/matching/querynodes.cpp index 06e86f26b2e..f1fffc69938 100644 --- a/searchcore/src/vespa/searchcore/proton/matching/querynodes.cpp +++ b/searchcore/src/vespa/searchcore/proton/matching/querynodes.cpp @@ -30,7 +30,7 @@ ProtonTermData::~ProtonTermData() = default; namespace { bool -is_attribute(FieldType type) { +is_attribute(FieldType type) noexcept { return (type == FieldType::ATTRIBUTE) || (type == FieldType::HIDDEN_ATTRIBUTE); } |