Fixed "char * const" versus "const char *" confusions throught the code base.

This commit is contained in:
Javier Espert Real
2015-05-27 20:56:41 +01:00
parent c51e86819d
commit d0f5996864
6 changed files with 18 additions and 18 deletions

View File

@@ -16,7 +16,7 @@ If you just need to have code that executes before and/ or after Catch this is t
#define CATCH_CONFIG_RUNNER
#include "catch.hpp"
int main( int argc, char* const argv[] )
int main( int argc, char const * argv[] )
{
// global setup...
@@ -36,7 +36,7 @@ If you still want Catch to process the command line, but you want to programatic
#define CATCH_CONFIG_RUNNER
#include "catch.hpp"
int main( int argc, char* const argv[] )
int main( int argc, char const * argv[] )
{
Catch::Session session; // There must be exactly once instance
@@ -65,4 +65,4 @@ Catch embeds a powerful command line parser which you can also use to parse your
---
[Home](Readme.md)
[Home](Readme.md)