mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Don't debug log empty strings
This commit is contained in:
parent
02ab64da2e
commit
1b1f3a88bc
@ -64,8 +64,10 @@ namespace Detail {
|
|||||||
|
|
||||||
struct OutputDebugWriter {
|
struct OutputDebugWriter {
|
||||||
|
|
||||||
void operator()( std::string const&str ) {
|
void operator()( std::string const& str ) {
|
||||||
writeToDebugConsole( str );
|
if ( !str.empty() ) {
|
||||||
|
writeToDebugConsole( str );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user