diff --git a/include/opendht/indexation/pht.h b/include/opendht/indexation/pht.h index 6f9b5804be7b9f6d7a26b942fe68bd86726856a6..8af618f7dd6c95e94f4116808dd5c6a58a60fd44 100644 --- a/include/opendht/indexation/pht.h +++ b/include/opendht/indexation/pht.h @@ -258,8 +258,8 @@ private: * @param done_cb : Callback to call when the insert is done */ - void insert( Prefix kp, IndexEntry entry, std::shared_ptr<int> lo, std::shared_ptr<int> hi, time_point time_p, - bool check_split, DoneCallbackSimple done_cb = {}); + void insert(Prefix kp, IndexEntry entry, std::shared_ptr<int> lo, std::shared_ptr<int> hi, time_point time_p, + bool check_split, DoneCallbackSimple done_cb = {}); class Cache { public: @@ -301,7 +301,7 @@ private: }; /* Callback used for insert value by using the pht */ - using RealInsertCallback = std::function<void(std::shared_ptr<Prefix> p, IndexEntry entry )>; + using RealInsertCallback = std::function<void(std::shared_ptr<Prefix> p, IndexEntry entry)>; using LookupCallbackWrapper = std::function<void(std::vector<std::shared_ptr<IndexEntry>>& values, Prefix p)>; /** @@ -378,7 +378,7 @@ private: * @param entry : Entry to put on the pht * @param end_cb : Callback to apply to the insert prefi (here does the insert) */ - void split(Prefix insert, std::shared_ptr<std::vector<std::shared_ptr<IndexEntry>>> vals, IndexEntry entry, RealInsertCallback end_cb ); + void split(Prefix insert, std::shared_ptr<std::vector<std::shared_ptr<IndexEntry>>> vals, IndexEntry entry, RealInsertCallback end_cb); /** * Tells if the key is valid according to the key spec.