Use reference instead of value

Fixes #166.
This commit is contained in:
Jarryd Beck 2019-02-19 18:07:25 +11:00
parent 9990f73845
commit 3876c09072

View File

@ -1089,7 +1089,8 @@ namespace cxxopts
return m_key; return m_key;
} }
const std::string const
std::string&
value() const value() const
{ {
return m_value; return m_value;