From e447dc5e363c656dc422e9bf219e00e8bb71e040 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20D=C3=A9saulniers?= <rostydela@gmail.com> Date: Fri, 20 Nov 2015 12:36:57 -0500 Subject: [PATCH] removed undefined function in header --- include/opendht/dht.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/include/opendht/dht.h b/include/opendht/dht.h index 3d32e946..90c6b83f 100644 --- a/include/opendht/dht.h +++ b/include/opendht/dht.h @@ -243,13 +243,6 @@ public: int pingNode(const sockaddr*, socklen_t); - /** - * Maintains the store. For each storage, if values don't belong there - * anymore because this node is too far from the target, values are sent to - * the appropriate nodes. - */ - void maintainStore(bool force=false); - time_point periodic(const uint8_t *buf, size_t buflen, const sockaddr *from, socklen_t fromlen); /** @@ -886,6 +879,11 @@ private: void expireStorage(); void storageChanged(Storage& st, ValueStorage&); + /** + * For a given storage, if values don't belong there anymore because this + * node is too far from the target, values are sent to the appropriate + * nodes. + */ size_t maintainStorage(InfoHash id, bool force=false, DoneCallback donecb=nullptr); // Buckets -- GitLab