lib/contacts: Use remove_ctrl

Use the new helper function rather than `wash'.
This commit is contained in:
Dirk-Jan C. Binnema
2021-03-16 17:09:37 +02:00
parent 15aca5e396
commit f56aca7c23
2 changed files with 17 additions and 18 deletions

View File

@ -84,8 +84,11 @@ public:
* Add a contact
*
* @param ci A contact-info object
*
* @return the inserted / updated / washed contact info. Note that
* this is return _as copy_ to make it thread-safe.
*/
void add(ContactInfo&& ci);
const ContactInfo add(ContactInfo&& ci);
/**
* Clear all contacts