From c6057cb3c790596747118307d81407c40f90eac4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 27 Sep 2022 18:38:28 -0400 Subject: Pass by value and use std::move --- src/server/events/CreateGraph.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/events/CreateGraph.cpp') 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; -- cgit v1.2.1