Changed branchName to char*, as per #266

This commit is contained in:
Phil Nash committed 2014-04-18 08:28:52 +01:00
1 parent cfc37b5fe9
commit 7303b2b60e
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -262,7 +262,7 @@ namespace Catch {
<< " is a Catch v" << libraryVersion.majorVersion << "."
<< libraryVersion.minorVersion << " b"
<< libraryVersion.buildNumber;
if( libraryVersion.branchName != "master" )
if( libraryVersion.branchName != std::string( "master" ) )
stream << " (" << libraryVersion.branchName << ")";
stream << " host application.\n"
<< "Run with -? for options\n\n";