diff --git a/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp b/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp index fd96781fb1..43ec447636 100644 --- a/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp +++ b/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp @@ -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)); else - attributes.emplace (attr, Attribute (std::move (value))); + attributes.emplace (attr, Attribute (std::forward (value))); return kResultTrue; }