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

This commit is contained in:
Kevin Ushey authored and Martin Hořeňovský committed 2017-03-22 15:51:02 +01:00
1 parent cffb031ce1
commit e04dc5105b
5 files changed
+8 -5

No files matched your search

+4 -1
View File
@@ -37,7 +37,10 @@ namespace Catch {
return os;
}
Version libraryVersion( 1, 8, 2, "", 0 );
inline Version libraryVersion() {
static Version version(1, 8, 2, "", 0);
return version;
}
}