mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-17 18:35:40 +02:00
Version uses constructor instead of initialiser to avoid warnings
This commit is contained in:
@@ -213,11 +213,11 @@ namespace Catch {
|
||||
}
|
||||
|
||||
if( !displayedSpecificOption ) {
|
||||
std::cout << "\nCATCH v" << libraryVersion.MajorVersion << "."
|
||||
<< libraryVersion.MinorVersion << " build "
|
||||
<< libraryVersion.BuildNumber;
|
||||
if( libraryVersion.BranchName != "master" )
|
||||
std::cout << " (" << libraryVersion.BranchName << " branch)";
|
||||
std::cout << "\nCATCH v" << libraryVersion.majorVersion << "."
|
||||
<< libraryVersion.minorVersion << " build "
|
||||
<< libraryVersion.buildNumber;
|
||||
if( libraryVersion.branchName != "master" )
|
||||
std::cout << " (" << libraryVersion.branchName << " branch)";
|
||||
|
||||
std::cout << "\n\n" << parser.exeName() << " is a CATCH host application. Options are as follows:\n\n";
|
||||
showUsage( std::cout );
|
||||
|
Reference in New Issue
Block a user