summaryrefslogtreecommitdiffstats
path: root/searchlib/src
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-12-03 11:14:52 +0000
committerArne Juul <arnej@verizonmedia.com>2020-12-03 11:23:25 +0000
commit957237a4e2859bda5ccaf536c0553092f0edde76 (patch)
treea4fedcd3a0b06a0d3ddb5fb6038e66cfc1d54eba /searchlib/src
parentf5a3b49a2f3fe9f926b28633946ed0a47768516d (diff)
simplify notImplemented()
* no need for notImplemented() to be virtual * special version for documentmetastore does not seem to add any value * ensure [[noreturn]] attribute actually works
Diffstat (limited to 'searchlib/src')
-rw-r--r--searchlib/src/vespa/searchlib/attribute/not_implemented_attribute.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/not_implemented_attribute.h b/searchlib/src/vespa/searchlib/attribute/not_implemented_attribute.h
index a5b570a4864..f311907bd91 100644
--- a/searchlib/src/vespa/searchlib/attribute/not_implemented_attribute.h
+++ b/searchlib/src/vespa/searchlib/attribute/not_implemented_attribute.h
@@ -9,7 +9,7 @@ namespace search {
struct NotImplementedAttribute : AttributeVector {
using AttributeVector::AttributeVector;
- [[noreturn]] virtual void notImplemented() const ;
+ void notImplemented [[noreturn]] () const;
uint32_t getValueCount(DocId) const override;
largeint_t getInt(DocId) const override;