Don't debug log empty strings
This commit is contained in:
1 file changed
+4
-2
@@ -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 );
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user