diff --git a/indra/newview/llgesturemgr.cpp b/indra/newview/llgesturemgr.cpp index d55c22b5e..4c1864185 100644 --- a/indra/newview/llgesturemgr.cpp +++ b/indra/newview/llgesturemgr.cpp @@ -996,9 +996,9 @@ void LLGestureMgr::onLoadComplete(LLVFS *vfs, { LLLoadInfo* info = (LLLoadInfo*)user_data; - const LLUUID& item_id = info->mItemID; - const bool& inform_server = info->mInformServer; - const bool& deactivate_similar = info->mDeactivateSimilar; + const LLUUID item_id = info->mItemID; + const bool inform_server = info->mInformServer; + const bool deactivate_similar = info->mDeactivateSimilar; delete info; info = nullptr; diff --git a/indra/newview/llgesturemgr.h b/indra/newview/llgesturemgr.h index eb23faf69..ff28a164d 100644 --- a/indra/newview/llgesturemgr.h +++ b/indra/newview/llgesturemgr.h @@ -125,7 +125,7 @@ public: bool triggerGesture(KEY key, MASK mask); // Trigger all gestures referenced as substrings in this string - bool triggerAndReviseString(const std::string &str, std::string *revised_string = NULL); + bool triggerAndReviseString(const std::string &str, std::string *revised_string = nullptr); // Does some gesture have this key bound? //bool isKeyBound(KEY key, MASK mask) const;