tweak StringOutputStream use
auto str = StringOutputStream()(bla) use form was not doing copy elision or move, but copy
This commit is contained in:
@@ -93,7 +93,7 @@ void R_ResampleTextureLerpLine( const byte *in, byte *out, int inwidth, int outw
|
||||
}
|
||||
else
|
||||
{
|
||||
globalWarningStream() << "R_ResampleTextureLerpLine: unsupported bytesperpixel " << bytesperpixel << "\n";
|
||||
globalWarningStream() << "R_ResampleTextureLerpLine: unsupported bytesperpixel " << bytesperpixel << '\n';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -304,7 +304,7 @@ void R_ResampleTexture( const void *indata, int inwidth, int inheight, void *out
|
||||
}
|
||||
else
|
||||
{
|
||||
globalWarningStream() << "R_ResampleTexture: unsupported bytesperpixel " << bytesperpixel << "\n";
|
||||
globalWarningStream() << "R_ResampleTexture: unsupported bytesperpixel " << bytesperpixel << '\n';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user