summaryrefslogtreecommitdiffstats
path: root/src/server/events/CreateBlock.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-02 18:24:22 +0100
committerDavid Robillard <d@drobilla.net>2021-01-02 18:27:11 +0100
commit50e7337aadcd2cbd6cbbfaad920708e3ff8875ee (patch)
tree0a6d2500f9822ddb632c34f45e6fea6cb7180ae9 /src/server/events/CreateBlock.cpp
parentf0e33dd09a390ca946e95a6f55fea397dca0ca1f (diff)
downloadingen-50e7337aadcd2cbd6cbbfaad920708e3ff8875ee.tar.gz
ingen-50e7337aadcd2cbd6cbbfaad920708e3ff8875ee.tar.bz2
ingen-50e7337aadcd2cbd6cbbfaad920708e3ff8875ee.zip
Pass by value and use std::move
Diffstat (limited to 'src/server/events/CreateBlock.cpp')
-rw-r--r--src/server/events/CreateBlock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/events/CreateBlock.cpp b/src/server/events/CreateBlock.cpp
index 9888b578..0898a6a0 100644
--- a/src/server/events/CreateBlock.cpp
+++ b/src/server/events/CreateBlock.cpp
@@ -59,10 +59,10 @@ CreateBlock::CreateBlock(Engine& engine,
const std::shared_ptr<Interface>& client,
int32_t id,
SampleCount timestamp,
- const raul::Path& path,
+ raul::Path path,
Properties& properties)
: Event(engine, client, id, timestamp)
- , _path(path)
+ , _path(std::move(path))
, _properties(properties)
, _graph(nullptr)
, _block(nullptr)