tweak StringOutputStream use

auto str = StringOutputStream()(bla) use form was not doing copy elision or move, but copy
This commit is contained in:
Garux
2024-01-29 16:54:08 +06:00
parent b4e44bc8ed
commit df02774ff5
122 changed files with 984 additions and 1204 deletions

View File

@@ -70,7 +70,7 @@ bool DoLoadPortalFileDialog(){
}
portals.fn = StringOutputStream( 256 )( PathExtensionless( GlobalRadiant().getMapName() ), ".prt" );
portals.fn = StringStream( PathExtensionless( GlobalRadiant().getMapName() ), ".prt" );
line->setText( portals.fn.c_str() );
check3d->setChecked( portals.show_3d );