1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-24 00:00:06 +02:00

Fix broken Windows build.

Was broken on MSVC 2013, due to a compiler bug.
This commit is contained in:
James Crook 2017-06-14 16:12:07 +01:00
parent 55dc096896
commit f67cc7af25

View File

@ -234,10 +234,14 @@ private:
TrackPanel * pParent;
static wxFont gFont;
static std::unique_ptr<LWSlider>
gGainCaptured, gPanCaptured, gGain, gPan;
// These are on separate lines to work around an MSVC 2013 compiler bug.
static std::unique_ptr<LWSlider> gGainCaptured;
static std::unique_ptr<LWSlider> gPanCaptured;
static std::unique_ptr<LWSlider> gGain;
static std::unique_ptr<LWSlider> gPan;
#ifdef EXPERIMENTAL_MIDI_OUT
static std::unique_ptr<LWSlider> gVelocityCaptured, gVelocity;
static std::unique_ptr<LWSlider> gVelocityCaptured;
static std::unique_ptr<LWSlider> gVelocity;
#endif
friend class TrackPanel;