Base: [skip ci] fix slight regression caused with 13549473e

This commit is contained in:
wmayer
2022-06-30 13:13:00 +02:00
parent 966720094d
commit 316352fa50

View File

@@ -172,7 +172,10 @@ void Builder3D::addText(const Base::Vector3f &vec,const char * text, float color
void Builder3D::clear ()
{
// under gcc stringstream::str() returns a copy not a reference
#if defined(_MSC_VER)
result.str().clear();
#endif
result.clear();
}