summaryrefslogtreecommitdiff
path: root/indra/llui/lluiimage.h
diff options
context:
space:
mode:
authorRichard Nelson <richard@lindenlab.com>2009-10-15 19:56:45 +0000
committerRichard Nelson <richard@lindenlab.com>2009-10-15 19:56:45 +0000
commit5edb4f2171fb92ff64913459a63afb20474db25a (patch)
tree2a32ae948197921d81f90de735637df8c758c96a /indra/llui/lluiimage.h
parent56fed69c4a5c801e46b61f85e6e01fcd302ae2e5 (diff)
removed requirement for specializing ParamCompare on boost::function types
eliminated usage of iterator_range from LLInitParam made LLTextEditor::addChar consistent with truncate in counting text bytes (not including null terminator) EXT-1494 - Avatar profile description text truncated to 255 characters reviewed by Leyla
Diffstat (limited to 'indra/llui/lluiimage.h')
-rw-r--r--indra/llui/lluiimage.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llui/lluiimage.h b/indra/llui/lluiimage.h
index 4ec24e98dc..9f505bea79 100644
--- a/indra/llui/lluiimage.h
+++ b/indra/llui/lluiimage.h
@@ -108,8 +108,10 @@ namespace LLInitParam
// Need custom comparison function for our test app, which only loads
// LLUIImage* as NULL.
template<>
- bool ParamCompare<LLUIImage*>::equals(
- LLUIImage* const &a, LLUIImage* const &b);
+ struct ParamCompare<LLUIImage*, boost::false_type>
+ {
+ static bool equals(LLUIImage* const &a, LLUIImage* const &b);
+ };
}
typedef LLPointer<LLUIImage> LLUIImagePtr;