summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.clang-tidy1
-rw-r--r--src/server/events/CreateGraph.cpp4
-rw-r--r--src/server/events/CreateGraph.hpp2
3 files changed, 3 insertions, 4 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 675fcd52..b37bdd94 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -20,7 +20,6 @@ Checks: >
-llvmlibc-*,
-misc-unused-parameters,
-modernize-concat-nested-namespaces,
- -modernize-pass-by-value,
-modernize-use-nodiscard,
-modernize-use-trailing-return-type,
-readability-identifier-length,
diff --git a/src/server/events/CreateGraph.cpp b/src/server/events/CreateGraph.cpp
index c1a30d4d..54a1788e 100644
--- a/src/server/events/CreateGraph.cpp
+++ b/src/server/events/CreateGraph.cpp
@@ -54,10 +54,10 @@ CreateGraph::CreateGraph(Engine& engine,
int32_t id,
SampleCount timestamp,
raul::Path path,
- const Properties& properties)
+ Properties properties)
: Event(engine, client, id, timestamp)
, _path(std::move(path))
- , _properties(properties)
+ , _properties(std::move(properties))
{}
CreateGraph::~CreateGraph() = default;
diff --git a/src/server/events/CreateGraph.hpp b/src/server/events/CreateGraph.hpp
index 46ca3266..7fc005ad 100644
--- a/src/server/events/CreateGraph.hpp
+++ b/src/server/events/CreateGraph.hpp
@@ -55,7 +55,7 @@ public:
int32_t id,
SampleCount timestamp,
raul::Path path,
- const Properties& properties);
+ Properties properties);
~CreateGraph() override;