From 134f60f9733a9b207608be20eed0c1a4f2999833 Mon Sep 17 00:00:00 2001 From: Demian Hespe Date: Sun, 19 Feb 2023 21:25:13 +0100 Subject: [PATCH] Fix noexcept warning (#391) --- include/cxxopts.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index b789a5c..6721342 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -1498,7 +1498,7 @@ CXXOPTS_DIAGNOSTIC_POP class KeyValue { public: - KeyValue(std::string key_, std::string value_) + KeyValue(std::string key_, std::string value_) noexcept : m_key(std::move(key_)) , m_value(std::move(value_)) {