From 0579fb03faa7ff9a094d910351eb9b5a235db24a Mon Sep 17 00:00:00 2001 From: mr-alice Date: Sun, 18 Sep 2016 22:14:25 +0200 Subject: [PATCH] removed unused tickWatchers() --- libretroshare/src/file_sharing/p3filelists.cc | 8 -------- libretroshare/src/file_sharing/p3filelists.h | 1 - 2 files changed, 9 deletions(-) diff --git a/libretroshare/src/file_sharing/p3filelists.cc b/libretroshare/src/file_sharing/p3filelists.cc index 0fd6bc5db..0e734e56a 100644 --- a/libretroshare/src/file_sharing/p3filelists.cc +++ b/libretroshare/src/file_sharing/p3filelists.cc @@ -154,10 +154,6 @@ RsServiceInfo p3FileDatabase::getServiceInfo() } int p3FileDatabase::tick() { - // tick the watchers, possibly create new ones if additional friends do connect. - // - tickWatchers(); - // tick the input/output list of update items and process them // tickRecv() ; @@ -262,10 +258,6 @@ void p3FileDatabase::stopThreads() #endif } -void p3FileDatabase::tickWatchers() -{ -} - bool p3FileDatabase::saveList(bool &cleanup, std::list& sList) { cleanup = true; diff --git a/libretroshare/src/file_sharing/p3filelists.h b/libretroshare/src/file_sharing/p3filelists.h index bd35a8015..08afd0e88 100644 --- a/libretroshare/src/file_sharing/p3filelists.h +++ b/libretroshare/src/file_sharing/p3filelists.h @@ -153,7 +153,6 @@ class p3FileDatabase: public p3Service, public p3Config, public ftSearch //, pub void cleanup(); void tickRecv(); void tickSend(); - void tickWatchers(); private: p3ServiceControl *mServCtrl ;