mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
VST3 Host: Fix argument forwarding
Co-authored-by: Dan Raviv <dan@soundradix.com>
This commit is contained in:
parent
022eb21006
commit
08b737e095
1 changed files with 2 additions and 2 deletions
|
|
@ -762,9 +762,9 @@ private:
|
|||
const auto iter = attributes.find (attr);
|
||||
|
||||
if (iter != attributes.end())
|
||||
iter->second = Attribute (std::move (value));
|
||||
iter->second = Attribute (std::forward<Value> (value));
|
||||
else
|
||||
attributes.emplace (attr, Attribute (std::move (value)));
|
||||
attributes.emplace (attr, Attribute (std::forward<Value> (value)));
|
||||
|
||||
return kResultTrue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue