Skip to content

Commit fda6414

Browse files
committed
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.
1 parent 6bf4607 commit fda6414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/exception_txt_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void test_each_exception_message(const string& test_description, const vector<co
5959
if (style == -1)
6060
store(parse_config_file(is, desc), vm);
6161
else
62-
store(parse_command_line(argv.size(), argv.data(), desc, style), vm);
62+
store(parse_command_line(argv.size(), &argv[0], desc, style), vm);
6363
notify(vm);
6464
}
6565
catch (EXCEPTION& e)

0 commit comments

Comments
 (0)