mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-19 22:40:36 -04:00
fixed bug in circle chooser that showed duplicates. Removed mCircleExternalIdList (not really useful now that circles are cached) and used a std::set to ensure uniqueness
This commit is contained in:
parent
af76cf028c
commit
dbd6477acd
4 changed files with 12 additions and 140 deletions
|
@ -312,8 +312,7 @@ public:
|
|||
* @param[out] details Storage for the circle details
|
||||
* @return false if something failed, true otherwhise
|
||||
*/
|
||||
virtual bool getCircleDetails(
|
||||
const RsGxsCircleId& id, RsGxsCircleDetails& details ) = 0;
|
||||
virtual bool getCircleDetails(const RsGxsCircleId& id, RsGxsCircleDetails& details ) = 0;
|
||||
|
||||
/**
|
||||
* @brief Get list of known external circles ids. Memory cached
|
||||
|
@ -321,8 +320,7 @@ public:
|
|||
* @param[in] circleIds Storage for circles id list
|
||||
* @return false if something failed, true otherwhise
|
||||
*/
|
||||
virtual bool getCircleExternalIdList(
|
||||
std::list<RsGxsCircleId>& circleIds ) = 0;
|
||||
virtual bool getCircleExternalIdList(std::set<RsGxsCircleId>& circleIds ) = 0;
|
||||
|
||||
/**
|
||||
* @brief Get circles summaries list.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue