1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

DemoRunner: Fix c++20 warning

This commit is contained in:
Anthony Nicholls 2024-05-02 16:14:16 +01:00
parent dbd3b4f34b
commit 7b4f71e700

View file

@ -810,7 +810,7 @@ public:
animationSettings.shouldAnimateSize = false;
animationSettings.shouldAnimateAlpha = false;
animationSettingsComponent.onAnimate = [=]
animationSettingsComponent.onAnimate = [&]
{
animationView1.animate();
animationView2.animate();