Commit ca08512c authored by Mihai Moldovan's avatar Mihai Moldovan

nxcomp/Log.h: also clear the buffer after setting it to an empty string.

parent d960ec2c
......@@ -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();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment