From 8dad411e9055c32a753e575ccd6142073eb27aae Mon Sep 17 00:00:00 2001 From: Callum Prentice Date: Fri, 14 Apr 2023 09:05:14 -0700 Subject: SL-19575: Emoji gallery - couple of tweaks that mac Clang got sad about --- indra/newview/llfloateremojipicker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llfloateremojipicker.cpp b/indra/newview/llfloateremojipicker.cpp index c828a95a59..a63a9fac4f 100644 --- a/indra/newview/llfloateremojipicker.cpp +++ b/indra/newview/llfloateremojipicker.cpp @@ -91,14 +91,14 @@ LLFloaterEmojiPicker::LLFloaterEmojiPicker(const LLSD& key) BOOL LLFloaterEmojiPicker::postBuild() { - if (mEmojis = getChild("Emojis")) + if ((mEmojis = getChild("Emojis"))) { mEmojis->setDoubleClickCallback(boost::bind(&LLFloaterEmojiPicker::onSelect, this)); mEmojis->clearRows(); const std::map& emoji2Descr = LLEmojiDictionary::instance().getEmoji2Descr(); - for (const std::pair& it : emoji2Descr) + for (const std::pair& it : emoji2Descr) { LLScrollListItem::Params params; params.columns.add().column("name").value(it.second->Name); -- cgit v1.2.3