1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

LV2 Helper: Fix a warning regarding a temporary value

This commit is contained in:
Anthony Nicholls 2024-02-22 15:48:28 +00:00
parent ff62191e14
commit 9ac2e8b4f7

View file

@ -1080,7 +1080,7 @@ private:
const auto strings = param.getAllValueStrings();
for (const auto& [counter, string] : enumerate (strings))
for (const auto [counter, string] : enumerate (strings))
{
const auto value = jmap ((float) counter, 0.0f, (float) numSteps - 1.0f, min, max);