Base: [skip ci] fix slight regression caused with d162d9371

This commit is contained in:
wmayer
2022-06-30 13:13:00 +02:00
parent e916f8afbb
commit a427c1e99e

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();
}