mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-19 11:25:38 +02:00
(re)Inlined isTrue()
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user