diff options
3 files changed, 1 insertions, 13 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastoreattribute.cpp b/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastoreattribute.cpp index 7fab995dfb9..fa8097419a5 100644 --- a/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastoreattribute.cpp +++ b/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastoreattribute.cpp @@ -17,15 +17,6 @@ DocumentMetaStoreAttribute::getFixedName() return _G_documentMetaStoreName; } - -void -DocumentMetaStoreAttribute::notImplemented() const -{ - throw vespalib::IllegalStateException( - "The function is not implemented for DocumentMetaStoreAttribute"); -} - - DocumentMetaStoreAttribute::DocumentMetaStoreAttribute(const vespalib::string &name) : NotImplementedAttribute(name, Config(BasicType::NONE)) { } diff --git a/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastoreattribute.h b/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastoreattribute.h index 721aa8fe126..f4e936e663a 100644 --- a/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastoreattribute.h +++ b/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastoreattribute.h @@ -13,9 +13,6 @@ namespace proton { **/ class DocumentMetaStoreAttribute : public search::NotImplementedAttribute { -protected: - void notImplemented() const override __attribute__((noinline)); - public: DocumentMetaStoreAttribute(const vespalib::string &name=getFixedName()); ~DocumentMetaStoreAttribute() override; 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; |