File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ ETextureIndex LLAvatarAppearanceDictionary::bakedToLocalTextureIndex(EBakedTextu
260
260
return getBakedTexture (index)->mTextureIndex ;
261
261
}
262
262
263
- EBakedTextureIndex LLAvatarAppearanceDictionary::findBakedByRegionName (const std::string name) const
263
+ EBakedTextureIndex LLAvatarAppearanceDictionary::findBakedByRegionName (const std::string& name) const
264
264
{
265
265
U8 index = 0 ;
266
266
while (index < BAKED_NUM_INDICES)
@@ -277,7 +277,7 @@ EBakedTextureIndex LLAvatarAppearanceDictionary::findBakedByRegionName(const std
277
277
return BAKED_NUM_INDICES;
278
278
}
279
279
280
- EBakedTextureIndex LLAvatarAppearanceDictionary::findBakedByImageName (const std::string name) const
280
+ EBakedTextureIndex LLAvatarAppearanceDictionary::findBakedByImageName (const std::string& name) const
281
281
{
282
282
U8 index = 0 ;
283
283
while (index < BAKED_NUM_INDICES)
Original file line number Diff line number Diff line change @@ -238,8 +238,8 @@ class LLAvatarAppearanceDictionary
238
238
ETextureIndex bakedToLocalTextureIndex (EBakedTextureIndex t) const ;
239
239
240
240
// find a baked texture index based on its name
241
- EBakedTextureIndex findBakedByRegionName (const std::string name) const ;
242
- EBakedTextureIndex findBakedByImageName (const std::string name) const ;
241
+ EBakedTextureIndex findBakedByRegionName (const std::string& name) const ;
242
+ EBakedTextureIndex findBakedByImageName (const std::string& name) const ;
243
243
244
244
// Given a texture entry, determine which wearable type owns it.
245
245
LLWearableType::EType getTEWearableType (ETextureIndex index) const ;
You can’t perform that action at this time.
0 commit comments