Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

main takes args by non-const char*

- see #548
Commit
d2642325aea02e2d011327ac12967fed691b2384
Author
Phil Nash ·
Parents
8fa41d96c7d1

Files · Download .tar.gz

Changes

 include/internal/catch_default_main.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/internal/catch_default_main.hpp b/include/internal/catch_default_main.hpp
index b7b65a5b..54202fb3 100644
--- a/include/internal/catch_default_main.hpp
+++ b/include/internal/catch_default_main.hpp
@@ -11,7 +11,7 @@
 #ifndef __OBJC__
 
 // Standard C/C++ main entry point
-int main (int argc, char * const argv[]) {
+int main (int argc, char * argv[]) {
     return Catch::Session().run( argc, argv );
 }