mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-28 20:27:46 +00:00
std::set -> std::vector (investigate further)
This commit is contained in:
parent
29428599e1
commit
44d158e4e0
2 changed files with 3 additions and 3 deletions
|
@ -53,8 +53,8 @@ protected:
|
|||
GroupType m_type{ GroupType::FriendList };
|
||||
uint32_t m_maxCapacity{ 200 };
|
||||
|
||||
// todo: (urgent) think of a way to only use a single std set, use index based for correlating with data
|
||||
std::set< FriendEntry > m_entries;
|
||||
// todo: profile and evaluate set vs vector approach
|
||||
std::vector< FriendEntry > m_entries;
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ protected:
|
|||
uint32_t m_maxRoles{ 50 };
|
||||
std::chrono::steady_clock::time_point m_createTime{ std::chrono::steady_clock::now() };
|
||||
|
||||
std::set< uint64_t > m_members;
|
||||
std::vector< uint64_t > m_members;
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue