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

APVTS: Fix thread sanitizer complaint

This commit is contained in:
reuk 2020-03-12 11:55:53 +00:00
parent 5af01b9b16
commit a886495606

View file

@ -531,7 +531,7 @@ struct AttachedControlBase : public AudioProcessorValueTreeState::Listener,
AudioProcessorValueTreeState& state;
String paramID;
float lastValue;
std::atomic<float> lastValue;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AttachedControlBase)
};