1
0
Fork 0
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:
reuk 2022-10-03 20:37:36 +01:00
parent 022eb21006
commit 08b737e095
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -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;
}