Don't swap streams as clang and gcc have problems with it

This commit is contained in:
David Capello 2015-01-21 11:21:29 -03:00
parent 7fb32ab45a
commit eae57b865e

View File

@ -89,7 +89,9 @@ void CopyRegion::swap()
}
}
std::swap(m_stream, tmp);
// TODO use m_stream.swap(tmp) when clang and gcc support it
m_stream.str(tmp.str());
m_stream.clear();
}
} // namespace cmd