diff --git a/src/messages/MessageBuilder.hpp b/src/messages/MessageBuilder.hpp index d3cbdb8d0..f1641c282 100644 --- a/src/messages/MessageBuilder.hpp +++ b/src/messages/MessageBuilder.hpp @@ -55,7 +55,7 @@ public: auto unique = std::make_unique(std::forward(args)...); auto pointer = unique.get(); - this->append(std::move(unique)); + this->append(unique); return pointer; }