From 2ff7f8a772e07335e4ab6788410858667189059e Mon Sep 17 00:00:00 2001 From: Richard Nelson Date: Thu, 15 Oct 2009 21:35:30 +0000 Subject: fix for gcc build --- indra/llui/llui.cpp | 2 +- indra/llui/llui.h | 2 +- indra/llui/lluiimage.cpp | 2 +- indra/llui/lluiimage.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'indra/llui') diff --git a/indra/llui/llui.cpp b/indra/llui/llui.cpp index ec9220a984..f253857851 100644 --- a/indra/llui/llui.cpp +++ b/indra/llui/llui.cpp @@ -1918,7 +1918,7 @@ namespace LLInitParam declare("blue", LLColor4::blue); } - bool ParamCompare::equals(const LLFontGL* a, const LLFontGL* b) + bool ParamCompare::equals(const LLFontGL* a, const LLFontGL* b) { return !(a->getFontDesc() < b->getFontDesc()) && !(b->getFontDesc() < a->getFontDesc()); diff --git a/indra/llui/llui.h b/indra/llui/llui.h index db18957a97..6ab78ab3cd 100644 --- a/indra/llui/llui.h +++ b/indra/llui/llui.h @@ -437,7 +437,7 @@ namespace LLInitParam }; template<> - struct ParamCompare + struct ParamCompare { static bool equals(const LLFontGL* a, const LLFontGL* b); }; diff --git a/indra/llui/lluiimage.cpp b/indra/llui/lluiimage.cpp index 51828e5731..6c1a32722f 100644 --- a/indra/llui/lluiimage.cpp +++ b/indra/llui/lluiimage.cpp @@ -152,7 +152,7 @@ namespace LLInitParam } - bool ParamCompare::equals( + bool ParamCompare::equals( LLUIImage* const &a, LLUIImage* const &b) { diff --git a/indra/llui/lluiimage.h b/indra/llui/lluiimage.h index 9f505bea79..9d734bcfdf 100644 --- a/indra/llui/lluiimage.h +++ b/indra/llui/lluiimage.h @@ -108,7 +108,7 @@ namespace LLInitParam // Need custom comparison function for our test app, which only loads // LLUIImage* as NULL. template<> - struct ParamCompare + struct ParamCompare { static bool equals(LLUIImage* const &a, LLUIImage* const &b); }; -- cgit v1.3