use inline 'libraryVersion()' function (closes #858)

This commit is contained in:
Kevin Ushey
2017-03-16 11:17:45 -07:00
committed by Martin Hořeňovský
parent cffb031ce1
commit e04dc5105b
5 changed files with 8 additions and 5 deletions

View File

@@ -254,7 +254,7 @@ namespace Catch {
stream << '\n' << getLineOfChars<'~'>() << '\n';
Colour colour( Colour::SecondaryText );
stream << currentTestRunInfo->name
<< " is a Catch v" << libraryVersion << " host application.\n"
<< " is a Catch v" << libraryVersion() << " host application.\n"
<< "Run with -? for options\n\n";
if( m_config->rngSeed() != 0 )