Use char const * const * for Session::run

Needed to embed newer version of Clara

Closes #1178
Closes #1031
This commit is contained in:
Martin Hořeňovský 2018-03-04 14:25:23 +01:00
parent d2ddb997a7
commit 2e285b9579
4 changed files with 62 additions and 32 deletions

View file

@ -165,7 +165,7 @@ namespace Catch {
<< std::left << std::setw(16) << "version: " << libraryVersion() << std::endl;
}
int Session::applyCommandLine( int argc, char* argv[] ) {
int Session::applyCommandLine( int argc, char const * const * argv ) {
if( m_startupExceptions )
return 1;