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
9e341231ba123c76040ca3d6cf874ae225e027d5
Author
Phil Nash ·
Parents
2b688e1cef85

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 );
 }