From a4fe27223f8018b6a52390775595c4f628693faf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Mon, 30 Apr 2018 10:40:47 -0400 Subject: [PATCH] immessage: fix warning --- include/opendht/default_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/opendht/default_types.h b/include/opendht/default_types.h index 205ec3ed..14dd070d 100644 --- a/include/opendht/default_types.h +++ b/include/opendht/default_types.h @@ -115,7 +115,7 @@ public: ImMessage(dht::Value::Id id, std::string&& m, long d = 0) : id(id), msg(std::move(m)), date(d) {} ImMessage(dht::Value::Id id, std::string&& dt, std::string&& m, long d = 0) - : id(id), datatype(std::move(dt)), msg(std::move(m)), date(d) {} + : id(id), msg(std::move(m)), datatype(std::move(dt)), date(d) {} virtual void unpackValue(const Value& v) override { to = v.recipient; -- GitLab