diff options
-rw-r--r-- | nxcomp/src/Log.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nxcomp/src/Log.h b/nxcomp/src/Log.h index c3ddd9568..32779bcaa 100644 --- a/nxcomp/src/Log.h +++ b/nxcomp/src/Log.h @@ -214,7 +214,8 @@ class NXLog pthread_mutex_lock(&output_lock_); (*stream()) << str; pthread_mutex_unlock(&output_lock_); - pdt->buffer->str(""); + pdt->buffer->str(std::string()); + pdt->buffer->clear(); } } |