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:
Vladimir Prus
2013-12-19 08:09:13 +04:00
parent 6bf4607eac
commit fda6414443

View File

@@ -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)