Peter M. Groen
/
cxxopts
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
3876c0907237e5fa89c5850ed1ee688a3bcb62b3
Authored by
Jarryd Beck
2019-02-19 18:07:25 +1100
1 parent
9990f738
Use reference instead of value
Fixes #166.
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
include/cxxopts.hpp
include/cxxopts.hpp
View file @
3876c09
...
...
@@ -1089,7 +1089,8 @@ namespace cxxopts
1089
1089
return m_key;
1090
1090
}
1091
1091
1092
- const std::string
1092
+ const
1093
+ std::string&
1093
1094
value() const
1094
1095
{
1095
1096
return m_value;
...
...