mirror of
https://github.com/boostorg/program_options.git
synced 2026-01-19 04:22:15 +00:00
Don't use vector<>::data.
This is only required by C++ 11. Most compilers have it anyway, but there are exceptions, like msvc 8 and msvc 9.
This commit is contained in:
@@ -59,7 +59,7 @@ void test_each_exception_message(const string& test_description, const vector<co
|
||||
if (style == -1)
|
||||
store(parse_config_file(is, desc), vm);
|
||||
else
|
||||
store(parse_command_line(argv.size(), argv.data(), desc, style), vm);
|
||||
store(parse_command_line(argv.size(), &argv[0], desc, style), vm);
|
||||
notify(vm);
|
||||
}
|
||||
catch (EXCEPTION& e)
|
||||
|
||||
Reference in New Issue
Block a user