From 5164ed388c1e328cb80dec304ba2fd249ef662f4 Mon Sep 17 00:00:00 2001 From: Loren Shih Date: Wed, 21 Oct 2009 21:37:27 +0000 Subject: Code audit for r136515 ("merging in new wearable infrastructure...") No expected functionality change; this mostly contains cosmetic cleanup. Reviewed by: Nyx --- indra/newview/lltexlayer.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'indra/newview/lltexlayer.h') diff --git a/indra/newview/lltexlayer.h b/indra/newview/lltexlayer.h index 2269c3c9a5..e4a6e82ba5 100644 --- a/indra/newview/lltexlayer.h +++ b/indra/newview/lltexlayer.h @@ -60,6 +60,11 @@ typedef std::vector param_alpha_list_t; typedef std::vector param_color_info_list_t; typedef std::vector param_alpha_info_list_t; + +//----------------------------------------------------------------------------- +// LLTexLayerInterface +// Interface class to generalize functionality shared by LLTexLayer and LLTexLayerTemplate. + class LLTexLayerInterface { public: @@ -256,7 +261,7 @@ public: void deleteCaches(); void gatherMorphMaskAlpha(U8 *data, S32 width, S32 height); void applyMorphMask(U8* tex_data, S32 width, S32 height, S32 num_components); - LLTexLayerInterface* findLayerByName(std::string name); + LLTexLayerInterface* findLayerByName(const std::string& name); void cloneTemplates(LLLocalTextureObject *lto, LLVOAvatarDefines::ETextureIndex tex_index, LLWearable* wearable); LLVOAvatarSelf* getAvatar() const { return mAvatar; } -- cgit v1.2.3