aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAleksi Lindeman <0xdec05eba@gmail.com>2018-02-10 19:36:35 +0100
committerAleksi Lindeman <0xdec05eba@gmail.com>2018-02-10 19:36:44 +0100
commitf24cd8b5708bdaf538508bfbca837299cecfba5b (patch)
treeb17e21cd3718d1e89e774f2b3858656191b3a52a /include
parent4f7b60a1db9db8bf27720abd23ec3cc5fbfddf48 (diff)
Fix put not working because used time discards message before received
Diffstat (limited to 'include')
-rw-r--r--include/Database.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Database.hpp b/include/Database.hpp
index bde4d5a..bfc3021 100644
--- a/include/Database.hpp
+++ b/include/Database.hpp
@@ -29,8 +29,8 @@ namespace odhtdb
ntp::NtpTimestamp getSyncedTimestampUtc() const;
StagedCreateObject deserializeCreateRequest(const std::shared_ptr<dht::Value> &value);
StagedAddObject deserializeAddRequest(const std::shared_ptr<dht::Value> &value);
- bool listenCreateData(const std::vector<std::shared_ptr<dht::Value>> &values);
- bool listenAddData(const std::vector<std::shared_ptr<dht::Value>> &values);
+ bool listenCreateData(std::shared_ptr<dht::Value> value);
+ bool listenAddData(std::shared_ptr<dht::Value> value);
private:
dht::DhtRunner node;
std::vector<StagedCreateObject> stagedCreateObjects;