adapted to new removeAllItems() prototype

git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@578 15ad00c4-1369-45f4-8270-35d70d36bdcd
This commit is contained in:
Patrick Ohly 2008-04-08 19:43:41 +00:00
parent 909d137156
commit 22e4e59e65
2 changed files with 2 additions and 2 deletions

View File

@ -374,7 +374,7 @@ class EvolutionSyncSource : public SyncSource, public EvolutionSyncSourceConfig
* deleteLocal == true and thus do not need to implement
* this method.
*/
virtual void removeAllItems() {}
virtual int removeAllItems() { return 0; }
/**
* Disambiguate getName(): we have inherited it from both SyncSource and

View File

@ -81,7 +81,7 @@ public:
virtual int addItem(SyncItem& item) { return m_source->addItem(item); }
virtual int updateItem(SyncItem& item) { return m_source->updateItem(item); }
virtual int deleteItem(SyncItem& item) { return m_source->deleteItem(item); }
virtual void removeAllItems() { m_source->removeAllItems(); }
virtual int removeAllItems() { return m_source->removeAllItems(); }
const char *getName() { return m_source->getName(); }
virtual ArrayElement* clone() { return NULL; }