From bd89362f08dc07b3444d19bc373f2b4f8bc47b2c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 25 Dec 2017 16:13:15 -0500 Subject: Use std::move to potentially avoid copying --- src/client/PluginUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client') diff --git a/src/client/PluginUI.cpp b/src/client/PluginUI.cpp index e523c25a..df983f7f 100644 --- a/src/client/PluginUI.cpp +++ b/src/client/PluginUI.cpp @@ -151,7 +151,7 @@ PluginUI::PluginUI(Ingen::World* world, const LilvUI* ui, const LilvNode* ui_type) : _world(world) - , _block(block) + , _block(std::move(block)) , _instance(nullptr) , _uis(uis) , _ui(ui) -- cgit v1.2.1