From f194a884dba343df301ca591c1d0c3ae498dd059 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Mon, 5 Aug 2013 14:15:33 -0400 Subject: [PATCH] Fix SignaledType not compiling on Windows --- indra/newview/lfsimfeaturehandler.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/indra/newview/lfsimfeaturehandler.h b/indra/newview/lfsimfeaturehandler.h index f2b8d3731..46bc509f8 100644 --- a/indra/newview/lfsimfeaturehandler.h +++ b/indra/newview/lfsimfeaturehandler.h @@ -20,14 +20,14 @@ #include "llsingleton.h" -template +template > class SignaledType { public: SignaledType() : mValue() {} SignaledType(Type b) : mValue(b) {} - boost::signals2::connection connect(Slot slot) { return mSignal.connect(slot); } + boost::signals2::connection connect(const typename Signal::slot_type& slot) { return mSignal.connect(slot); } SignaledType& operator =(Type val) { @@ -41,7 +41,7 @@ public: operator Type() const { return mValue; } private: - boost::signals2::signal mSignal; + Signal mSignal; Type mValue; };