diff --git a/indra/llmath/v4coloru.h b/indra/llmath/v4coloru.h index 2101efc5fc..cc67302d43 100644 --- a/indra/llmath/v4coloru.h +++ b/indra/llmath/v4coloru.h @@ -130,7 +130,11 @@ public: static BOOL parseColor4U(const std::string& buf, LLColor4U* value); // conversion +#ifdef LL_DARWIN operator /*const*/ LLColor4() const +#else + operator const LLColor4() const +#endif { return LLColor4(*this); }