Skip to content

Commit

Permalink
Fix another missing copy elision
Browse files Browse the repository at this point in the history
  • Loading branch information
gvnnz committed Mar 8, 2019
1 parent 0d8f174 commit 0e9a7aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void Channel::copy(const Channel* src, pthread_mutex_t* pluginMutex)
#ifdef WITH_VST

for (const std::unique_ptr<Plugin>& plugin : src->plugins)
pluginHost::addPlugin(std::move(pluginManager::makePlugin(*plugin.get())),
pluginHost::addPlugin(pluginManager::makePlugin(*plugin.get()),
pluginHost::StackType::CHANNEL, pluginMutex, this);

#endif
Expand Down

0 comments on commit 0e9a7aa

Please sign in to comment.