From ae5bc11f30f156eb996b33f426f894384357309a Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Mon, 25 Feb 2019 12:36:14 +0100 Subject: Eliminate some gcc 9 warnings. --- documentapi/src/vespa/documentapi/messagebus/routablefactories60.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'documentapi/src') diff --git a/documentapi/src/vespa/documentapi/messagebus/routablefactories60.cpp b/documentapi/src/vespa/documentapi/messagebus/routablefactories60.cpp index c34291c634f..00c16c16fec 100644 --- a/documentapi/src/vespa/documentapi/messagebus/routablefactories60.cpp +++ b/documentapi/src/vespa/documentapi/messagebus/routablefactories60.cpp @@ -567,7 +567,7 @@ RoutableFactories60::PutDocumentReplyFactory::doDecode(document::ByteBuffer &buf // Doing an explicit move here to force converting result to an rvalue. // This is done automatically in GCC >= 5. - return std::move(reply); + return reply; } bool -- cgit v1.2.3