We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
option_names_iteratort::reference
1 parent d1c3cb9 commit e38af24Copy full SHA for e38af24
src/util/cmdline.h
@@ -111,8 +111,8 @@ class cmdlinet
111
using iterator_category = std::forward_iterator_tag;
112
using value_type = std::string;
113
using difference_type = std::ptrdiff_t;
114
- using pointer = std::string *;
115
- using reference = std::string &;
+ using pointer = const std::string *;
+ using reference = const std::string &;
116
117
option_names_iteratort() = default;
118
explicit option_names_iteratort(
0 commit comments