Switch to using typedef'd uuid types everywhere and auto for iterators

Oh, and some related opts.
This commit is contained in:
Lirusaito
2019-04-04 22:20:21 -04:00
parent 48003c8bc9
commit a1d06e682e
82 changed files with 252 additions and 271 deletions

View File

@@ -617,7 +617,7 @@ LLUUID LLIMMgr::addSession(
LLFloaterIMPanel* floater = findFloaterBySession(session_id);
if(!floater)
{
std::vector<LLUUID> ids;
uuid_vec_t ids;
ids.push_back(other_participant_id);
floater = createFloater(session_id, other_participant_id, name, dialog, ids, true);
@@ -661,7 +661,7 @@ LLUUID LLIMMgr::addSession(
const std::string& name,
EInstantMessage dialog,
const LLUUID& other_participant_id,
const std::vector<LLUUID>& ids)
const uuid_vec_t& ids)
{
if (0 == ids.size())
{
@@ -1028,7 +1028,7 @@ LLFloaterIMPanel* LLIMMgr::createFloater(
const LLUUID& other_participant_id,
const std::string& session_label,
const EInstantMessage& dialog,
const std::vector<LLUUID>& ids,
const uuid_vec_t& ids,
bool user_initiated)
{
if (session_id.isNull())
@@ -1088,7 +1088,7 @@ std::string LLIMMgr::getOfflineMessage(const LLUUID& id)
void LLIMMgr::noteOfflineUsers(
LLFloaterIMPanel* floater,
const std::vector<LLUUID>& ids)
const uuid_vec_t& ids)
{
if(ids.empty())
{
@@ -1113,7 +1113,7 @@ void LLIMMgr::noteOfflineUsers(
}
void LLIMMgr::noteMutedUsers(LLFloaterIMPanel* floater,
const std::vector<LLUUID>& ids)
const uuid_vec_t& ids)
{
// Don't do this if we don't have a mute list.
LLMuteList *ml = LLMuteList::getInstance();