Skip to content

Commit 524df17

Browse files
committed
Fixed (unexpected) compilation error: Cast argv to 'const char**'
1 parent 0ea1124 commit 524df17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/testrunner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
int main(int argc, char *argv[])
2424
{
25-
options args(argc, argv);
25+
options args(argc, const_cast<const char**>(argv));
2626

2727
std::size_t ret = TestFixture::runTests(args);
2828

0 commit comments

Comments
 (0)