summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@yahooinc.com>2023-07-02 22:46:29 +0200
committerTor Egge <Tor.Egge@yahooinc.com>2023-07-02 22:46:29 +0200
commitfc928c92135e5601331251724eafb38a01054ef8 (patch)
tree546d5892432f2b060fdd1164f3021757767b20af /searchcore
parent78f20e140db88e1b3ad26ffc3419e408716f4e57 (diff)
Add noexcept specifier to DocumentDBConfig copy constructor.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/documentdbconfig.cpp2
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/documentdbconfig.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/documentdbconfig.cpp b/searchcore/src/vespa/searchcore/proton/server/documentdbconfig.cpp
index 904e495e0f2..eb8ec083caf 100644
--- a/searchcore/src/vespa/searchcore/proton/server/documentdbconfig.cpp
+++ b/searchcore/src/vespa/searchcore/proton/server/documentdbconfig.cpp
@@ -98,7 +98,7 @@ DocumentDBConfig::DocumentDBConfig(
{ }
-DocumentDBConfig::DocumentDBConfig(const DocumentDBConfig &cfg) = default;
+DocumentDBConfig::DocumentDBConfig(const DocumentDBConfig &cfg) noexcept = default;
DocumentDBConfig::~DocumentDBConfig() = default;
diff --git a/searchcore/src/vespa/searchcore/proton/server/documentdbconfig.h b/searchcore/src/vespa/searchcore/proton/server/documentdbconfig.h
index ce8181716ad..caaeb5186b9 100644
--- a/searchcore/src/vespa/searchcore/proton/server/documentdbconfig.h
+++ b/searchcore/src/vespa/searchcore/proton/server/documentdbconfig.h
@@ -173,7 +173,7 @@ public:
const vespalib::string &configId,
const vespalib::string &docTypeName) noexcept;
- DocumentDBConfig(const DocumentDBConfig &cfg);
+ DocumentDBConfig(const DocumentDBConfig &cfg) noexcept;
DocumentDBConfig & operator=(const DocumentDBConfig &cfg) = delete;
~DocumentDBConfig();