diff options
Diffstat (limited to 'searchcore')
4 files changed, 9 insertions, 10 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attribute_spec.cpp b/searchcore/src/vespa/searchcore/proton/attribute/attribute_spec.cpp index 20e6798c79b..bee80e77bd6 100644 --- a/searchcore/src/vespa/searchcore/proton/attribute/attribute_spec.cpp +++ b/searchcore/src/vespa/searchcore/proton/attribute/attribute_spec.cpp @@ -16,10 +16,10 @@ AttributeSpec::AttributeSpec(const AttributeSpec &) = default; AttributeSpec & AttributeSpec::operator=(const AttributeSpec &) = default; -AttributeSpec::AttributeSpec(AttributeSpec &&) = default; +AttributeSpec::AttributeSpec(AttributeSpec &&) noexcept = default; AttributeSpec & -AttributeSpec::operator=(AttributeSpec &&) = default; +AttributeSpec::operator=(AttributeSpec &&) noexcept = default; AttributeSpec::~AttributeSpec() = default; diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attribute_spec.h b/searchcore/src/vespa/searchcore/proton/attribute/attribute_spec.h index 6c720ff5792..b6d6fc9963b 100644 --- a/searchcore/src/vespa/searchcore/proton/attribute/attribute_spec.h +++ b/searchcore/src/vespa/searchcore/proton/attribute/attribute_spec.h @@ -16,12 +16,11 @@ private: vespalib::string _name; search::attribute::Config _cfg; public: - AttributeSpec(const vespalib::string &name, - const search::attribute::Config &cfg); + AttributeSpec(const vespalib::string &name, const search::attribute::Config &cfg); AttributeSpec(const AttributeSpec &); AttributeSpec & operator=(const AttributeSpec &); - AttributeSpec(AttributeSpec &&); - AttributeSpec & operator=(AttributeSpec &&); + AttributeSpec(AttributeSpec &&) noexcept; + AttributeSpec & operator=(AttributeSpec &&) noexcept; ~AttributeSpec(); const vespalib::string &getName() const { return _name; } const search::attribute::Config &getConfig() const { return _cfg; } diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.cpp b/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.cpp index 34e9ba2c145..74e3e903540 100644 --- a/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.cpp +++ b/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.cpp @@ -62,11 +62,11 @@ AttributeWriter::WriteContext::WriteContext(ExecutorId executorId) } -AttributeWriter::WriteContext::WriteContext(WriteContext &&rhs) = default; +AttributeWriter::WriteContext::WriteContext(WriteContext &&rhs) noexcept = default; AttributeWriter::WriteContext::~WriteContext() = default; -AttributeWriter::WriteContext &AttributeWriter::WriteContext::operator=(WriteContext &&rhs) = default; +AttributeWriter::WriteContext &AttributeWriter::WriteContext::operator=(WriteContext &&rhs) noexcept = default; void AttributeWriter::WriteContext::add(AttributeVector &attr) diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.h b/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.h index 4ea7f3fda6c..9e5d8f4ce5d 100644 --- a/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.h +++ b/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.h @@ -48,9 +48,9 @@ public: bool _hasStructFieldAttribute; public: WriteContext(ExecutorId executorId); - WriteContext(WriteContext &&rhs); + WriteContext(WriteContext &&rhs) noexcept; ~WriteContext(); - WriteContext &operator=(WriteContext &&rhs); + WriteContext &operator=(WriteContext &&rhs) noexcept; void buildFieldPaths(const DocumentType &docType); void add(AttributeVector &attr); ExecutorId getExecutorId() const { return _executorId; } |