Fix compile

This commit is contained in:
Liru Færs
2019-10-11 16:44:59 -04:00
parent bd2c67e8ec
commit bbd3cb3469
2 changed files with 2 additions and 1 deletions

View File

@@ -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<void>(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))
{

View File

@@ -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)