diff --git a/indra/newview/llimpanel.cpp b/indra/newview/llimpanel.cpp index 7a2349d05..7d1dedbda 100644 --- a/indra/newview/llimpanel.cpp +++ b/indra/newview/llimpanel.cpp @@ -329,7 +329,7 @@ LLFloaterIMPanel::LLFloaterIMPanel( case IM_SESSION_GROUP_START: case IM_SESSION_INVITE: case IM_SESSION_CONFERENCE_START: - mCommitCallbackRegistrar.add("FlipDing", boost::bind(boost::lambda::_1 = !boost::lambda::_1, boost::ref(mDing))); + mCommitCallbackRegistrar.add("FlipDing", [=](LLUICtrl*, const LLSD&) { mDing = !mDing; }); // determine whether it is group or conference session if (gAgent.isInGroup(mSessionUUID)) { diff --git a/indra/newview/llnameeditor.cpp b/indra/newview/llnameeditor.cpp index 08913fcde..15ef0bece 100644 --- a/indra/newview/llnameeditor.cpp +++ b/indra/newview/llnameeditor.cpp @@ -44,6 +44,7 @@ LLNameEditor::LLNameEditor(const std::string& name, const LLRect& rect, bool is_group, const std::string& loading, bool rlv_sensitive, + bool click_for_profile, const LLFontGL* glfont, S32 max_text_length) : LLNameUI(loading, rlv_sensitive, name_id, is_group)