From 6f4923da2e654c5135bc3bd229ba2873f0186f64 Mon Sep 17 00:00:00 2001 From: kaldoran <kaldoran@live.fr> Date: Mon, 8 Aug 2016 17:45:10 -0400 Subject: [PATCH] dht: fix some typo --- include/opendht/indexation/pht.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/opendht/indexation/pht.h b/include/opendht/indexation/pht.h index 6f9b5804..8af618f7 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. -- GitLab