aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-12-19 17:02:19 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2024-01-04 10:42:37 +0000
commit0f9915ebdfb2931ebb3c06ac55b537f42477256b (patch)
treea6f3a41e547c032d773ef391da22ca04bcfcacc3 /searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp
parent5f1ec31a0decec88322835705afa26cc7d35fd3e (diff)
- Modernize code
- Unify some conversion tables.
Diffstat (limited to 'searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp')
-rw-r--r--searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp b/searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp
index a658ff5f3d6..fe6f73367d7 100644
--- a/searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp
+++ b/searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp
@@ -9,7 +9,7 @@ namespace {
class CharInfo {
public:
CharInfo();
- uint8_t get(uint8_t c) const { return _charInfo[c]; }
+ uint8_t get(uint8_t c) const noexcept { return _charInfo[c]; }
private:
uint8_t _charInfo[256];
};