diff options
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llexperiencelog.cpp | 4 | ||||
-rw-r--r-- | indra/newview/llexperiencelog.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llexperiencelog.cpp b/indra/newview/llexperiencelog.cpp index 5f9fab306b..66129a39a2 100644 --- a/indra/newview/llexperiencelog.cpp +++ b/indra/newview/llexperiencelog.cpp @@ -254,7 +254,7 @@ void LLExperienceLog::setMaxDays( U32 val ) } } -LLExperienceLog::callback_connection_t LLExperienceLog::addUpdateSignal( callback_slot_t cb ) +LLExperienceLog::callback_connection_t LLExperienceLog::addUpdateSignal( const callback_slot_t& cb ) { return mSignals.connect(cb); } @@ -268,6 +268,6 @@ void LLExperienceLog::setNotifyNewEvent( bool val ) } else if( val && !mNotifyConnection.connected()) { - mNotifyConnection = addUpdateSignal(notify); + mNotifyConnection = addUpdateSignal((callback_slot_t)notify); } } diff --git a/indra/newview/llexperiencelog.h b/indra/newview/llexperiencelog.h index 5bc47c4e8d..1e473e27d5 100644 --- a/indra/newview/llexperiencelog.h +++ b/indra/newview/llexperiencelog.h @@ -38,7 +38,7 @@ public: callback_signal_t; typedef callback_signal_t::slot_type callback_slot_t; typedef boost::signals2::connection callback_connection_t; - callback_connection_t addUpdateSignal(callback_slot_t cb); + callback_connection_t addUpdateSignal(const callback_slot_t& cb); void initialize(); |