From f474f6499bbe95f5b6f2a82a96b50dfe81488b08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20D=C3=A9saulniers?= <sim.desaulniers@gmail.com> Date: Mon, 18 Jul 2016 14:16:30 -0400 Subject: [PATCH] value: missing return, errors on non-gcc Gcc understands the syntax without return value, but this confuses other compilers. --- include/opendht/value.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/opendht/value.h b/include/opendht/value.h index 5c7c2ce9..b56a71ed 100644 --- a/include/opendht/value.h +++ b/include/opendht/value.h @@ -828,7 +828,7 @@ struct Query void msgpack_unpack(const msgpack::object& o); friend std::ostream& operator<<(std::ostream& s, const dht::Query& q) { - s << "Query[" << q.select << " " << q.where << "]"; + return s << "Query[" << q.select << " " << q.where << "]"; } Select select {}; -- GitLab