diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-07-03 10:23:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-03 10:23:59 +0200 |
commit | 53048c795d46e1827adae6bd10c8d2e0d4735ff4 (patch) | |
tree | 6e732381895bd817c097ea9fe18be0e4f376215c | |
parent | 70441a06ed102622c7384aad74c0b38fabb2f68a (diff) | |
parent | fc928c92135e5601331251724eafb38a01054ef8 (diff) |
Merge pull request #27607 from vespa-engine/toregge/add-noexcept-specifier-to-document-db-config-copy-constructor
Add noexcept specifier to DocumentDBConfig copy constructor.
-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(); |