| @@ -80,10 +80,8 @@ MidiMessageSequence::MidiEventHolder* MidiMessageSequence::getEventPointer (int | |||||
| return list[index]; | return list[index]; | ||||
| } | } | ||||
| MidiMessageSequence::MidiEventHolder** MidiMessageSequence::begin() noexcept { return list.begin(); } | |||||
| MidiMessageSequence::MidiEventHolder*const* MidiMessageSequence::begin() const noexcept { return list.begin(); } | |||||
| MidiMessageSequence::MidiEventHolder** MidiMessageSequence::end() noexcept { return list.end(); } | |||||
| MidiMessageSequence::MidiEventHolder*const* MidiMessageSequence::end() const noexcept { return list.end(); } | |||||
| MidiMessageSequence::MidiEventHolder** MidiMessageSequence::begin() const noexcept { return list.begin(); } | |||||
| MidiMessageSequence::MidiEventHolder** MidiMessageSequence::end() const noexcept { return list.end(); } | |||||
| double MidiMessageSequence::getTimeOfMatchingKeyUp (int index) const noexcept | double MidiMessageSequence::getTimeOfMatchingKeyUp (int index) const noexcept | ||||
| { | { | ||||
| @@ -101,12 +101,10 @@ public: | |||||
| MidiEventHolder* getEventPointer (int index) const noexcept; | MidiEventHolder* getEventPointer (int index) const noexcept; | ||||
| /** Iterator for the list of MidiEventHolders */ | /** Iterator for the list of MidiEventHolders */ | ||||
| MidiEventHolder** begin() noexcept; | |||||
| MidiEventHolder*const* begin() const noexcept; | |||||
| MidiEventHolder** begin() const noexcept; | |||||
| /** Iterator for the list of MidiEventHolders */ | /** Iterator for the list of MidiEventHolders */ | ||||
| MidiEventHolder** end() noexcept; | |||||
| MidiEventHolder*const* end() const noexcept; | |||||
| MidiEventHolder** end() const noexcept; | |||||
| /** Returns the time of the note-up that matches the note-on at this index. | /** Returns the time of the note-up that matches the note-on at this index. | ||||
| If the event at this index isn't a note-on, it'll just return 0. | If the event at this index isn't a note-on, it'll just return 0. | ||||
| @@ -35,7 +35,8 @@ namespace juce | |||||
| // The AudioHardwareService stuff was deprecated in 10.11 but there's no replacement yet, | // The AudioHardwareService stuff was deprecated in 10.11 but there's no replacement yet, | ||||
| // so we'll have to silence the warnings here and revisit it in a future OS version.. | // so we'll have to silence the warnings here and revisit it in a future OS version.. | ||||
| #if ((defined (MAC_OS_X_VERSION_10_12) && MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_12) \ | |||||
| #if ((defined (MAC_OS_X_VERSION_10_13) && MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_13) \ | |||||
| || (defined (MAC_OS_X_VERSION_10_12) && MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_12) \ | |||||
| || (defined (MAC_OS_X_VERSION_10_11) && MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_11)) | || (defined (MAC_OS_X_VERSION_10_11) && MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_11)) | ||||
| #pragma clang diagnostic ignored "-Wdeprecated-declarations" | #pragma clang diagnostic ignored "-Wdeprecated-declarations" | ||||
| #endif | #endif | ||||
| @@ -78,12 +78,10 @@ public: | |||||
| AudioFormat* getKnownFormat (int index) const; | AudioFormat* getKnownFormat (int index) const; | ||||
| /** Iterator access to the list of known formats. */ | /** Iterator access to the list of known formats. */ | ||||
| AudioFormat** begin() noexcept { return knownFormats.begin(); } | |||||
| AudioFormat*const* begin() const noexcept { return knownFormats.begin(); } | |||||
| AudioFormat** begin() const noexcept { return knownFormats.begin(); } | |||||
| /** Iterator access to the list of known formats. */ | /** Iterator access to the list of known formats. */ | ||||
| AudioFormat** end() noexcept { return knownFormats.end(); } | |||||
| AudioFormat*const* end() const noexcept { return knownFormats.end(); } | |||||
| AudioFormat** end() const noexcept { return knownFormats.end(); } | |||||
| /** Looks for which of the known formats is listed as being for a given file | /** Looks for which of the known formats is listed as being for a given file | ||||
| extension. | extension. | ||||
| @@ -61,12 +61,10 @@ public: | |||||
| PluginDescription* getType (int index) const noexcept { return types [index]; } | PluginDescription* getType (int index) const noexcept { return types [index]; } | ||||
| /** Type iteration. */ | /** Type iteration. */ | ||||
| PluginDescription** begin() noexcept { return types.begin(); } | |||||
| PluginDescription*const* begin() const noexcept { return types.begin(); } | |||||
| PluginDescription** begin() const noexcept { return types.begin(); } | |||||
| /** Type iteration. */ | /** Type iteration. */ | ||||
| PluginDescription** end() noexcept { return types.end(); } | |||||
| PluginDescription*const* end() const noexcept { return types.end(); } | |||||
| PluginDescription** end() const noexcept { return types.end(); } | |||||
| /** Looks for a type in the list which comes from this file. */ | /** Looks for a type in the list which comes from this file. */ | ||||
| PluginDescription* getTypeForFile (const String& fileOrIdentifier) const; | PluginDescription* getTypeForFile (const String& fileOrIdentifier) const; | ||||