Small fixes and tweaks

This commit is contained in:
Phil Nash 2012-10-28 10:27:44 +00:00
parent 355b5e546d
commit fe1d7c1d08
3 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ namespace Catch {
ExpressionResultBuilder& ExpressionResultBuilder::operator=(const ExpressionResultBuilder& other ) {
m_data = other.m_data;
m_exprComponents = other.m_exprComponents;
m_stream.clear();
m_stream.str("");
m_stream << other.m_stream.str();
return *this;
}