mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-13 00:25:48 -04:00
removed channel delete feature
added optimisation suggestion with load/savelist git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3920 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d3a6f7316c
commit
2f559dae96
37 changed files with 133 additions and 388 deletions
|
@ -1299,9 +1299,8 @@ RsSerialiser *p3GroupDistrib::setupSerialiser()
|
|||
return rss;
|
||||
}
|
||||
|
||||
std::list<RsItem *> p3GroupDistrib::saveList(bool &cleanup)
|
||||
bool p3GroupDistrib::saveList(bool &cleanup, std::list<RsItem *>& saveData)
|
||||
{
|
||||
std::list<RsItem *> saveData;
|
||||
|
||||
#ifdef DISTRIB_DEBUG
|
||||
std::cerr << "p3GroupDistrib::saveList()";
|
||||
|
@ -1471,7 +1470,7 @@ std::list<RsItem *> p3GroupDistrib::saveList(bool &cleanup)
|
|||
|
||||
delete childSer;
|
||||
|
||||
return saveData;
|
||||
return true;
|
||||
}
|
||||
|
||||
void p3GroupDistrib::saveDone()
|
||||
|
@ -1489,7 +1488,7 @@ void p3GroupDistrib::saveDone()
|
|||
distribMtx.unlock(); /****** MUTEX UNLOCKED *******/
|
||||
}
|
||||
|
||||
bool p3GroupDistrib::loadList(std::list<RsItem *> load)
|
||||
bool p3GroupDistrib::loadList(std::list<RsItem *>& load)
|
||||
{
|
||||
std::list<RsItem *>::iterator lit;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue