diff options
author | Richard Linden <none@none> | 2012-04-06 09:40:59 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2012-04-06 09:40:59 -0700 |
commit | fff9567a67ded34471fd17af9c50bc1d307e7b19 (patch) | |
tree | 9a3f4e3d0c99163f1c81e4018ae93393fdbea87b /indra/llui/lluiimage.h | |
parent | 6dd7029942dcc381d670657e0c4bb7d8dcd24594 (diff) |
further LLInitParam cleanup
changed bool template parameter to IS_BLOCK and NOT_BLOCK types
moved addParam to BlockDescriptor
moved init outside of param element constructors for faster construction
Diffstat (limited to 'indra/llui/lluiimage.h')
-rw-r--r-- | indra/llui/lluiimage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/lluiimage.h b/indra/llui/lluiimage.h index f07e8fa746..b9b90fee71 100644 --- a/indra/llui/lluiimage.h +++ b/indra/llui/lluiimage.h @@ -92,7 +92,7 @@ protected: namespace LLInitParam { template<> - class ParamValue<LLUIImage*, TypeValues<LLUIImage*> > + class ParamValue<LLUIImage*, TypeValues<LLUIImage*>, NOT_BLOCK > : public CustomParamValue<LLUIImage*> { typedef boost::add_reference<boost::add_const<LLUIImage*>::type>::type T_const_ref; @@ -100,7 +100,7 @@ namespace LLInitParam public: Optional<std::string> name; - ParamValue(LLUIImage* const& image) + ParamValue(LLUIImage* const& image = NULL) : super_t(image) { updateBlockFromValue(false); |