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

Removed redundant processName argument from libIdentify call

Commit
7fa5d9ca9451aef8799c53fdb168a836e211f5a8
Author
Phil Nash ·
Parents
feaf355489d8

Files · Download .tar.gz

Changes

 include/catch_session.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/catch_session.hpp b/include/catch_session.hpp
index 1b2d956a..550f9142 100644
--- a/include/catch_session.hpp
+++ b/include/catch_session.hpp
@@ -134,7 +134,7 @@ namespace Catch {
             m_cli.usage( Catch::cout(), processName );
             Catch::cout() << "For more detail usage please see the project docs\n" << std::endl;
         }
-        void libIdentify( std::string const& processName ) {
+        void libIdentify() {
             Catch::cout()
                     << std::left << std::setw(16) << "description: " << "A Catch test executable\n"
                     << std::left << std::setw(16) << "category: " << "testframework\n"
@@ -150,7 +150,7 @@ namespace Catch {
                 if( m_configData.showHelp )
                     showHelp( m_configData.processName );
                 if( m_configData.libIdentify )
-                    libIdentify( m_configData.processName );
+                    libIdentify();
                 m_config.reset();
             }
             catch( std::exception& ex ) {