Browse Source

APVTS: Fix thread sanitizer complaint

tags/2021-05-28
reuk 5 years ago
parent
commit
a886495606
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.cpp

+ 1
- 1
modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.cpp 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)
};


Loading…
Cancel
Save