refactor StringFixedSize, auto str = String64()() use form was not doing copy elision

This commit is contained in:
Garux
2024-01-25 23:46:01 +06:00
parent f6a040c27b
commit b4e44bc8ed
8 changed files with 22 additions and 28 deletions

View File

@@ -206,7 +206,7 @@ void ParsePatch( bool onlyLights, entity_t& mapEnt, int mapPrimitiveNum ){
/* get shader name */
GetToken( true );
const auto shader = String64()( "textures/", token );
const String64 shader( "textures/", token );
Parse1DMatrix( 5, info );
m.width = info[0];