File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
include/boost/program_options/detail Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ namespace boost { namespace program_options { namespace detail {
136
136
const std::vector<style_parser>& style_parsers);
137
137
138
138
// Copies of input.
139
- std::vector<std::string> args ;
139
+ std::vector<std::string> m_args ;
140
140
style_t m_style;
141
141
bool m_allow_unregistered;
142
142
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ namespace boost { namespace program_options { namespace detail {
103
103
void
104
104
cmdline::init (const vector<string>& args)
105
105
{
106
- this ->args = args;
106
+ this ->m_args = args;
107
107
m_style = command_line_style::default_style;
108
108
m_desc = 0 ;
109
109
m_positional = 0 ;
@@ -244,6 +244,7 @@ namespace boost { namespace program_options { namespace detail {
244
244
style_parsers.push_back (boost::bind (&cmdline::parse_terminator, this , _1));
245
245
246
246
vector<option> result;
247
+ vector<string>& args = m_args;
247
248
while (!args.empty ())
248
249
{
249
250
bool ok = false ;
You can’t perform that action at this time.
0 commit comments