summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.clang-tidy1
-rw-r--r--src/server/ControlBindings.hpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 3988a65e..614cc844 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -2,7 +2,6 @@ Checks: >
*,
-*avoid-c-arrays,
-*magic-numbers,
- -*move-const-arg,
-*narrowing-conversions,
-*noexcept-move*,
-*non-private-member-variables-in-classes,
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; }