From 5471ab6fa1309e398cf7bc694310245f84fbc09b Mon Sep 17 00:00:00 2001 From: Nicky Date: Tue, 5 Jul 2016 17:36:04 +0200 Subject: [PATCH] Correction for Windows/Havok build. --- indra/llmath/v4coloru.h | 4 ++++ 1 file changed, 4 insertions(+) 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); }