From f24cd8b5708bdaf538508bfbca837299cecfba5b Mon Sep 17 00:00:00 2001 From: Aleksi Lindeman <0xdec05eba@gmail.com> 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') 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