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

Replaced all usage of ScopedPointer with std::unique_ptr

This commit is contained in:
Tom Poole 2018-04-19 15:55:04 +01:00
parent e6104e3fed
commit ab863a6dc2
401 changed files with 1091 additions and 1113 deletions

View file

@ -2150,7 +2150,7 @@ private:
bool lastSustainPedalValueReceived, lastSostenutoPedalValueReceived;
MPEValue lastMPEValueReceived;
ScopedPointer<MPENote> lastNoteFinished;
std::unique_ptr<MPENote> lastNoteFinished;
private:
//==============================================================================

View file

@ -195,7 +195,7 @@ protected:
protected:
//==============================================================================
/** @internal */
ScopedPointer<MPEInstrument> instrument;
std::unique_ptr<MPEInstrument> instrument;
private:
//==============================================================================

View file

@ -73,7 +73,7 @@ public:
private:
bool isLegacy = false;
ScopedPointer<MPEZoneLayout::Zone> zone;
std::unique_ptr<MPEZoneLayout::Zone> zone;
int channelIncrement, numChannels, firstChannel, lastChannel, midiChannelLastAssigned;
//==============================================================================