mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-27 05:03:30 +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 {
|
||||
|
||||
void operator()( std::string const&str ) {
|
||||
writeToDebugConsole( str );
|
||||
void operator()( std::string const& str ) {
|
||||
if ( !str.empty() ) {
|
||||
writeToDebugConsole( str );
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user