diff options
Diffstat (limited to 'indra/newview/llexperiencelog.cpp')
-rw-r--r-- | indra/newview/llexperiencelog.cpp | 4 |
1 files changed, 2 insertions, 2 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); } } |