diff options
author | Tor Egge <Tor.Egge@yahooinc.com> | 2023-07-02 22:46:29 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@yahooinc.com> | 2023-07-02 22:46:29 +0200 |
commit | fc928c92135e5601331251724eafb38a01054ef8 (patch) | |
tree | 546d5892432f2b060fdd1164f3021757767b20af /searchcore | |
parent | 78f20e140db88e1b3ad26ffc3419e408716f4e57 (diff) |
Add noexcept specifier to DocumentDBConfig copy constructor.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/server/documentdbconfig.cpp | 2 | ||||
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/server/documentdbconfig.h | 2 |
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(); |