(re)Inlined isTrue()

This commit is contained in:
Phil Nash 2017-11-21 13:12:22 +00:00
parent e54dcdac8b
commit 3b965aa501
3 changed files with 2 additions and 3 deletions

View file

@ -61,7 +61,7 @@ namespace Catch {
std::ostream& operator << ( std::ostream& os, SourceLineInfo const& info );
// This is just here to avoid compiler warnings with macro constants and boolean literals
bool isTrue( bool value );
inline bool isTrue( bool value ){ return value; }
bool alwaysTrue();
bool alwaysFalse();