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:
parent
909d137156
commit
22e4e59e65
|
@ -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
|
||||
|
|
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue