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

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