diff options
author | Arne Juul <arnej@verizonmedia.com> | 2020-12-03 11:14:52 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2020-12-03 11:23:25 +0000 |
commit | 957237a4e2859bda5ccaf536c0553092f0edde76 (patch) | |
tree | a4fedcd3a0b06a0d3ddb5fb6038e66cfc1d54eba /searchlib/src | |
parent | f5a3b49a2f3fe9f926b28633946ed0a47768516d (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.h | 2 |
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; |