summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2018-07-31 20:22:28 +0100
committerGraham Linden <graham@lindenlab.com>2018-07-31 20:22:28 +0100
commitee91efb05377aa94c4d223d61ff941f2cdedde76 (patch)
tree7fb7c994cbfd1f90af059c1c1ee1226a4f11d87b
parent66035a216837154a05f9490ae07adf470d8fe870 (diff)
Fix template specialization syntax for Clang that MSVC does not demand.
-rw-r--r--indra/newview/llselectmgr.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp
index 86b88e0a59..792b55e5bb 100644
--- a/indra/newview/llselectmgr.cpp
+++ b/indra/newview/llselectmgr.cpp
@@ -7937,6 +7937,7 @@ void LLSelectMgr::sendSelectionMove()
//saveSelectedObjectTransform(SELECT_ACTION_TYPE_PICK);
}
+template<>
bool LLCheckIdenticalFunctor<F32>::same(const F32& a, const F32& b, const F32& tolerance)
{
F32 delta = (a - b);
@@ -7951,6 +7952,7 @@ bool LLCheckIdenticalFunctor<F32>::same(const F32& a, const F32& b, const F32& t
}
#define DEF_DUMMY_CHECK_FUNCTOR(T) \
+template<> \
bool LLCheckIdenticalFunctor<T>::same(const T& a, const T& b, const T& tolerance) \
{ \
(void)tolerance; \
@@ -7970,6 +7972,7 @@ DEF_DUMMY_CHECK_FUNCTOR(LLPointer<LLMaterial>)
DEF_DUMMY_CHECK_FUNCTOR(std::string)
DEF_DUMMY_CHECK_FUNCTOR(std::vector<std::string>)
+template<>
bool LLCheckIdenticalFunctor<class LLFace *>::same(class LLFace* const & a, class LLFace* const & b, class LLFace* const & tolerance) \
{ \
(void)tolerance; \