Skip to content
Snippets Groups Projects
Commit a4fe2722 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

immessage: fix warning

parent 5408dc6f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment