mirror of
https://github.com/jarro2783/cxxopts.git
synced 2026-01-18 01:11:24 +01:00
Fix noexcept warning (#391)
This commit is contained in:
@@ -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_))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user