From a9a7ecaa25e6bc11062e21affd458e2de78747ff Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 10 Feb 2018 19:36:35 +0100 Subject: Fix put not working because used time discards message before received --- include/Database.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/Database.hpp') 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 &value); StagedAddObject deserializeAddRequest(const std::shared_ptr &value); - bool listenCreateData(const std::vector> &values); - bool listenAddData(const std::vector> &values); + bool listenCreateData(std::shared_ptr value); + bool listenAddData(std::shared_ptr value); private: dht::DhtRunner node; std::vector stagedCreateObjects; -- cgit v1.2.3