From b2ca9ab82aceefb3de27dfd5ea313916dfcdfcd9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 1 Aug 2020 23:34:13 +0200 Subject: Remove unnecessary move --- src/server/ControlBindings.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/ControlBindings.hpp b/src/server/ControlBindings.hpp index 8fff58ce..92128cb6 100644 --- a/src/server/ControlBindings.hpp +++ b/src/server/ControlBindings.hpp @@ -74,7 +74,7 @@ public: /** One binding of a controller to a port. */ struct Binding : public boost::intrusive::set_base_hook<>, public Raul::Maid::Disposable { - Binding(Key k=Key(), PortImpl* p=nullptr) : key(std::move(k)), port(p) {} + Binding(Key k=Key(), PortImpl* p=nullptr) : key(k), port(p) {} inline bool operator<(const Binding& rhs) const { return key < rhs.key; } -- cgit v1.2.1