From fc928c92135e5601331251724eafb38a01054ef8 Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Sun, 2 Jul 2023 22:46:29 +0200 Subject: Add noexcept specifier to DocumentDBConfig copy constructor. --- searchcore/src/vespa/searchcore/proton/server/documentdbconfig.cpp | 2 +- searchcore/src/vespa/searchcore/proton/server/documentdbconfig.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'searchcore') 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(); -- cgit v1.2.3