Fix noexcept warning (#391)

This commit is contained in:
Demian Hespe 2023-02-19 21:25:13 +01:00 committed by GitHub
parent eb787304d6
commit 134f60f973
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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_))
{