Don't debug log empty strings

This commit is contained in:
Martin Hořeňovský 2021-08-03 15:46:53 +02:00
parent 02ab64da2e
commit 1b1f3a88bc
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -64,9 +64,11 @@ namespace Detail {
struct OutputDebugWriter { struct OutputDebugWriter {
void operator()( std::string const&str ) { void operator()( std::string const& str ) {
if ( !str.empty() ) {
writeToDebugConsole( str ); writeToDebugConsole( str );
} }
}
}; };
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////