tweak StringOutputStream use
auto str = StringOutputStream()(bla) use form was not doing copy elision or move, but copy
This commit is contained in:
@@ -44,7 +44,7 @@ void glwidget_context_created( QOpenGLWidget& widget ){
|
||||
<< " depth: " << widget.format().depthBufferSize()
|
||||
<< " swapInterval: " << widget.format().swapInterval()
|
||||
<< " samples: " << widget.format().samples()
|
||||
<< "\n";
|
||||
<< '\n';
|
||||
|
||||
ASSERT_MESSAGE( widget.isValid(), "failed to create OpenGL widget" );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user