mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-16 10:01:14 -04:00
replace std::vector for std::set to represent _hashes_to_remove, so as to avoid duplicates (suggested by Jo)
This commit is contained in:
parent
1fd624ccb4
commit
b62b66a24c
2 changed files with 13 additions and 18 deletions
|
@ -409,7 +409,7 @@ class p3turtle: public p3Service, public RsTurtle, public p3Config
|
|||
std::map<TurtleVirtualPeerId,TurtleTunnelId> _virtual_peers ;
|
||||
|
||||
/// Hashes marked to be deleted.
|
||||
std::vector<TurtleFileHash> _hashes_to_remove ;
|
||||
std::set<TurtleFileHash> _hashes_to_remove ;
|
||||
|
||||
/// List of client services that have regitered.
|
||||
std::list<RsTurtleClientService*> _registered_services ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue