Fix noexcept warning

This commit is contained in:
Demian Hespe 2023-02-17 17:13:15 +01:00
parent eb787304d6
commit 58e48da08f

View File

@ -1498,7 +1498,7 @@ CXXOPTS_DIAGNOSTIC_POP
class KeyValue class KeyValue
{ {
public: public:
KeyValue(std::string key_, std::string value_) KeyValue(std::string key_, std::string value_) noexcept
: m_key(std::move(key_)) : m_key(std::move(key_))
, m_value(std::move(value_)) , m_value(std::move(value_))
{ {