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

@@ -92,7 +92,7 @@ public:
LLUUID addSession(const std::string& name,
EInstantMessage dialog,
const LLUUID& other_participant_id,
const std::vector<LLUUID>& ids);
const uuid_vec_t& ids);
// Creates a P2P session with the requisite handle for responding to voice calls
LLUUID addP2PSession(const std::string& name,
@@ -199,15 +199,15 @@ private:
const LLUUID& target_id,
const std::string& name,
const EInstantMessage& dialog,
const std::vector<LLUUID>& ids = std::vector<LLUUID>(),
const uuid_vec_t& ids = uuid_vec_t(),
bool user_initiated = false);
// This simple method just iterates through all of the ids, and
// prints a simple message if they are not online. Used to help
// reduce 'hello' messages to the linden employees unlucky enough
// to have their calling card in the default inventory.
void noteOfflineUsers(LLFloaterIMPanel* panel, const std::vector<LLUUID>& ids);
void noteMutedUsers(LLFloaterIMPanel* panel, const std::vector<LLUUID>& ids);
void noteOfflineUsers(LLFloaterIMPanel* panel, const uuid_vec_t& ids);
void noteMutedUsers(LLFloaterIMPanel* panel, const uuid_vec_t& ids);
void processIMTypingCore(const LLIMInfo* im_info, BOOL typing);
@@ -219,7 +219,7 @@ private:
// the user should be notified that to be able to see this message the option should be OFF.
// This set stores session IDs in which user was notified. Need to store this IDs so that the user
// be notified only one time per session with non-friend.
typedef std::set<LLUUID> notified_non_friend_sessions_t;
typedef uuid_set_t notified_non_friend_sessions_t;
notified_non_friend_sessions_t mNotifiedNonFriendSessions;
// An IM has been received that you haven't seen yet.