refactor StringFixedSize, auto str = String64()() use form was not doing copy elision
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user