diff options
author | Henning Baldersheim <balder@oath.com> | 2018-06-12 14:32:47 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@oath.com> | 2018-06-12 14:53:28 +0200 |
commit | 90d9c4f6be7d09cb6a7f5570f10d86404cbfc15a (patch) | |
tree | 46d675f8eef5c41f9df8e8749da55be81ee8fd27 /documentapi | |
parent | 7c4f18824d24d7c6124fbdb0ced7587bc6e19caf (diff) |
Last style changes before lazy documentupdate PR.
Diffstat (limited to 'documentapi')
-rw-r--r-- | documentapi/src/vespa/documentapi/messagebus/routablefactories50.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/documentapi/src/vespa/documentapi/messagebus/routablefactories50.h b/documentapi/src/vespa/documentapi/messagebus/routablefactories50.h index e052eff78c3..12d5c560786 100644 --- a/documentapi/src/vespa/documentapi/messagebus/routablefactories50.h +++ b/documentapi/src/vespa/documentapi/messagebus/routablefactories50.h @@ -42,12 +42,8 @@ DocumentMessage::UP decodeMessage(const FactoryType * self, document::ByteBuffer & buf) { auto msg = std::make_unique<MessageType>(); ScopedApproxSizeSetter sizeSetter(*msg, buf); - self->decodeInto(*msg, buf); - - // Doing an explicit move here to force converting result to an rvalue. - // This is done automatically in GCC >= 5. - return std::move(msg); + return msg; } /** |