diff --git a/examples/Demo/Source/Demos/WindowsDemo.cpp b/examples/Demo/Source/Demos/WindowsDemo.cpp index 6d7010b689..bb2fe9aa94 100644 --- a/examples/Demo/Source/Demos/WindowsDemo.cpp +++ b/examples/Demo/Source/Demos/WindowsDemo.cpp @@ -249,7 +249,7 @@ private: // Because in this demo the windows delete themselves, we'll use the // Component::SafePointer class to point to them, which automatically becomes // null when the component that it points to is deleted. - Array< Component::SafePointer > windows; + Array> windows; TextButton showWindowsButton, closeWindowsButton; SafePointer dialogWindow; diff --git a/modules/juce_audio_basics/buffers/juce_AudioDataConverters.cpp b/modules/juce_audio_basics/buffers/juce_AudioDataConverters.cpp index 3f31379dd8..bfa9b74ec6 100644 --- a/modules/juce_audio_basics/buffers/juce_AudioDataConverters.cpp +++ b/modules/juce_audio_basics/buffers/juce_AudioDataConverters.cpp @@ -515,12 +515,12 @@ public: // convert data from the source to dest format.. ScopedPointer conv (new AudioData::ConverterInstance , - AudioData::Pointer >()); + AudioData::Pointer>()); conv->convertSamples (inPlace ? reversed : converted, original, numSamples); // ..and back again.. conv = new AudioData::ConverterInstance , - AudioData::Pointer >(); + AudioData::Pointer>(); if (! inPlace) zeromem (reversed, sizeof (reversed)); diff --git a/modules/juce_audio_devices/native/juce_android_OpenSL.cpp b/modules/juce_audio_devices/native/juce_android_OpenSL.cpp index 776f8afcf2..73444c051a 100644 --- a/modules/juce_audio_devices/native/juce_android_OpenSL.cpp +++ b/modules/juce_audio_devices/native/juce_android_OpenSL.cpp @@ -755,8 +755,8 @@ public: } //============================================================================== - ScopedPointer > player; - ScopedPointer > recorder; + ScopedPointer> player; + ScopedPointer> recorder; Atomic guard; jmethodID getUnderrunCount = 0; }; diff --git a/modules/juce_audio_devices/native/juce_linux_ALSA.cpp b/modules/juce_audio_devices/native/juce_linux_ALSA.cpp index 7a521f468f..b6ff24ecbb 100644 --- a/modules/juce_audio_devices/native/juce_linux_ALSA.cpp +++ b/modules/juce_audio_devices/native/juce_linux_ALSA.cpp @@ -442,9 +442,9 @@ private: typedef AudioData::Pointer SourceType; if (isLittleEndian) - return new AudioData::ConverterInstance > (1, numInterleavedChannels); + return new AudioData::ConverterInstance > (1, numInterleavedChannels); - return new AudioData::ConverterInstance > (1, numInterleavedChannels); + return new AudioData::ConverterInstance > (1, numInterleavedChannels); } }; diff --git a/modules/juce_audio_devices/native/juce_win32_WASAPI.cpp b/modules/juce_audio_devices/native/juce_win32_WASAPI.cpp index d0380d7897..35996bd11c 100644 --- a/modules/juce_audio_devices/native/juce_win32_WASAPI.cpp +++ b/modules/juce_audio_devices/native/juce_win32_WASAPI.cpp @@ -887,7 +887,7 @@ public: void updateFormatWithType (DestType*) { typedef AudioData::Pointer NativeType; - converter = new AudioData::ConverterInstance > (1, actualNumChannels); + converter = new AudioData::ConverterInstance> (1, actualNumChannels); } void updateFormat (bool isFloat) override diff --git a/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUScopeElement.h b/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUScopeElement.h index 7e37bfba62..403d0b6297 100644 --- a/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUScopeElement.h +++ b/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUScopeElement.h @@ -264,7 +264,7 @@ protected: inline ParameterMapEvent& GetParamEvent(AudioUnitParameterID paramID); private: - typedef std::map > ParameterMap; + typedef std::map> ParameterMap; /*! @var mAudioUnit */ AUBase * mAudioUnit; diff --git a/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm b/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm index ce62442b92..6bd763ffcf 100644 --- a/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm +++ b/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm @@ -1635,7 +1635,7 @@ private: //============================================================================== Array channelInfo; - Array > supportedInputLayouts, supportedOutputLayouts; + Array> supportedInputLayouts, supportedOutputLayouts; Array currentInputLayout, currentOutputLayout; //============================================================================== @@ -2034,10 +2034,10 @@ private: void addSupportedLayoutTagsForDirection (bool isInput) { - Array >& layouts = isInput ? supportedInputLayouts : supportedOutputLayouts; + auto& layouts = isInput ? supportedInputLayouts : supportedOutputLayouts; layouts.clear(); + auto numBuses = AudioUnitHelpers::getBusCount (juceFilter, isInput); - const int numBuses = AudioUnitHelpers::getBusCount (juceFilter, isInput); for (int busNr = 0; busNr < numBuses; ++busNr) { Array busLayouts; diff --git a/modules/juce_audio_plugin_client/AU/juce_AUv3_Wrapper.mm b/modules/juce_audio_plugin_client/AU/juce_AUv3_Wrapper.mm index e12653f3d8..5206585030 100644 --- a/modules/juce_audio_plugin_client/AU/juce_AUv3_Wrapper.mm +++ b/modules/juce_audio_plugin_client/AU/juce_AUv3_Wrapper.mm @@ -88,15 +88,15 @@ using namespace juce; // TODO: use SFINAE to automatically generate this for all NSObjects template <> struct ContainerDeletePolicy { static void destroy (NSObject* o) { [o release]; } }; template <> struct ContainerDeletePolicy { static void destroy (NSObject* o) { [o release]; } }; -template <> struct ContainerDeletePolicy > { static void destroy (NSObject* o) { [o release]; } }; +template <> struct ContainerDeletePolicy> { static void destroy (NSObject* o) { [o release]; } }; template <> struct ContainerDeletePolicy { static void destroy (NSObject* o) { [o release]; } }; -template <> struct ContainerDeletePolicy > { static void destroy (NSObject* o) { [o release]; } }; +template <> struct ContainerDeletePolicy> { static void destroy (NSObject* o) { [o release]; } }; template <> struct ContainerDeletePolicy { static void destroy (NSObject* o) { [o release]; } }; template <> struct ContainerDeletePolicy { static void destroy (NSObject* o) { [o release]; } }; template <> struct ContainerDeletePolicy { static void destroy (NSObject* o) { [o release]; } }; -template <> struct ContainerDeletePolicy > { static void destroy (NSObject* o) { [o release]; } }; +template <> struct ContainerDeletePolicy> { static void destroy (NSObject* o) { [o release]; } }; template <> struct ContainerDeletePolicy { static void destroy (NSObject* o) { [o release]; } }; -template <> struct ContainerDeletePolicy > { static void destroy (NSObject* o) { [o release]; } }; +template <> struct ContainerDeletePolicy> { static void destroy (NSObject* o) { [o release]; } }; template <> struct ContainerDeletePolicy { static void destroy (NSObject* o) { [o release]; } }; //============================================================================== @@ -1050,7 +1050,7 @@ private: //============================================================================== void addAudioUnitBusses (bool isInput) { - ScopedPointer > array = [[NSMutableArray alloc] init]; + ScopedPointer> array = [[NSMutableArray alloc] init]; AudioProcessor& processor = getAudioProcessor(); const int n = AudioUnitHelpers::getBusCount (&processor, isInput); @@ -1076,7 +1076,7 @@ private: void addParameters() { - ScopedPointer > params = [[NSMutableArray alloc] init]; + ScopedPointer> params = [[NSMutableArray alloc] init]; paramObserver = CreateObjCBlock (this, &JuceAudioUnitv3::valueChangedFromHost); paramProvider = CreateObjCBlock (this, &JuceAudioUnitv3::getValue); @@ -1451,7 +1451,7 @@ private: ScopedPointer> overviewParams; ScopedPointer> channelCapabilities; - ScopedPointer > factoryPresets; + ScopedPointer> factoryPresets; ObjCBlock internalRenderBlock; diff --git a/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm b/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm index 65b364950f..f1028bd591 100644 --- a/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm +++ b/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm @@ -430,18 +430,18 @@ public: for (int dir = 0; dir < 2; ++dir) { const bool isInput = (dir == 0); - const Array& requestedLayouts = (isInput ? layouts.inputBuses : layouts.outputBuses); - const Array& oppositeRequestedLayouts = (isInput ? layouts.outputBuses : layouts.inputBuses); - const Array >& supported = (isInput ? supportedInLayouts : supportedOutLayouts); + auto& requestedLayouts = (isInput ? layouts.inputBuses : layouts.outputBuses); + auto& oppositeRequestedLayouts = (isInput ? layouts.outputBuses : layouts.inputBuses); + auto& supported = (isInput ? supportedInLayouts : supportedOutLayouts); const int n = getBusCount (isInput); for (int busIdx = 0; busIdx < n; ++busIdx) { - const AudioChannelSet& requested = requestedLayouts.getReference (busIdx); + auto& requested = requestedLayouts.getReference (busIdx); const int oppositeBusIdx = jmin (getBusCount (! isInput) - 1, busIdx); const bool hasOppositeBus = (oppositeBusIdx >= 0); - const AudioChannelSet oppositeRequested = (hasOppositeBus ? oppositeRequestedLayouts.getReference (oppositeBusIdx) : AudioChannelSet()); - const Array& possible = supported.getReference (busIdx); + auto oppositeRequested = (hasOppositeBus ? oppositeRequestedLayouts.getReference (oppositeBusIdx) : AudioChannelSet()); + auto& possible = supported.getReference (busIdx); if (requested.isDisabled()) return false; @@ -452,9 +452,9 @@ public: int i; for (i = 0; i < numChannelInfos; ++i) { - const AUChannelInfo& info = channelInfos[i]; - const SInt16& thisChannels = (isInput ? info.inChannels : info.outChannels); - const SInt16& opChannels = (isInput ? info.outChannels : info.inChannels); + auto& info = channelInfos[i]; + auto& thisChannels = (isInput ? info.inChannels : info.outChannels); + auto& opChannels = (isInput ? info.outChannels : info.inChannels); // this bus if (thisChannels == 0) continue; @@ -472,11 +472,13 @@ public: { int numOppositeBuses = getBusCount (! isInput); int j; + for (j = 0; j < numOppositeBuses; ++j) if (requested.size() != oppositeRequestedLayouts.getReference (j).size()) break; - if (j < numOppositeBuses) continue; + if (j < numOppositeBuses) + continue; } break; @@ -1254,7 +1256,7 @@ private: OwnedArray outputBufferList; AudioTimeStamp timeStamp; AudioSampleBuffer* currentBuffer; - Array > supportedInLayouts, supportedOutLayouts; + Array> supportedInLayouts, supportedOutLayouts; int numChannelInfos; HeapBlock channelInfos; diff --git a/modules/juce_audio_utils/gui/juce_AudioThumbnail.cpp b/modules/juce_audio_utils/gui/juce_AudioThumbnail.cpp index 4f50058acd..e90fe954e2 100644 --- a/modules/juce_audio_utils/gui/juce_AudioThumbnail.cpp +++ b/modules/juce_audio_utils/gui/juce_AudioThumbnail.cpp @@ -126,7 +126,7 @@ public: } } - void getLevels (int64 startSample, int numSamples, Array >& levels) + void getLevels (int64 startSample, int numSamples, Array>& levels) { const ScopedLock sl (readerLock); @@ -144,7 +144,7 @@ public: if (reader != nullptr) { if (levels.size() < (int) reader->numChannels) - levels.insertMultiple (0, Range(), (int) reader->numChannels - levels.size()); + levels.insertMultiple (0, {}, (int) reader->numChannels - levels.size()); reader->readMaxLevels (startSample, numSamples, levels.getRawDataPointer(), (int) reader->numChannels); diff --git a/modules/juce_audio_utils/gui/juce_AudioVisualiserComponent.cpp b/modules/juce_audio_utils/gui/juce_AudioVisualiserComponent.cpp index 596c467174..f5beb5a85d 100644 --- a/modules/juce_audio_utils/gui/juce_AudioVisualiserComponent.cpp +++ b/modules/juce_audio_utils/gui/juce_AudioVisualiserComponent.cpp @@ -76,7 +76,7 @@ struct AudioVisualiserComponent::ChannelInfo } AudioVisualiserComponent& owner; - Array > levels; + Array> levels; Range value; int nextSample, subSample; diff --git a/modules/juce_core/containers/juce_ListenerList.h b/modules/juce_core/containers/juce_ListenerList.h index 7986b74ecd..357700c9bc 100644 --- a/modules/juce_core/containers/juce_ListenerList.h +++ b/modules/juce_core/containers/juce_ListenerList.h @@ -62,7 +62,7 @@ namespace juce ListenerList::DummyBailOutChecker, which is a dummy checker that always returns false. */ template > + class ArrayType = Array> class ListenerList { #ifndef DOXYGEN diff --git a/modules/juce_core/native/juce_mac_Network.mm b/modules/juce_core/native/juce_mac_Network.mm index 1e3ec34e07..4894fc366b 100644 --- a/modules/juce_core/native/juce_mac_Network.mm +++ b/modules/juce_core/native/juce_mac_Network.mm @@ -593,9 +593,9 @@ struct BackgroundDownloadTask : public URL::DownloadTask } //============================================================================== - struct DelegateClass : public ObjCClass > + struct DelegateClass : public ObjCClass> { - DelegateClass() : ObjCClass > ("JUCE_URLDelegate_") + DelegateClass() : ObjCClass> ("JUCE_URLDelegate_") { addIvar ("state"); diff --git a/modules/juce_core/text/juce_String.cpp b/modules/juce_core/text/juce_String.cpp index c6e4139ff4..2d40acf633 100644 --- a/modules/juce_core/text/juce_String.cpp +++ b/modules/juce_core/text/juce_String.cpp @@ -448,7 +448,7 @@ namespace NumberToStringConverters return printDigits (t, v); } - struct StackArrayStream : public std::basic_streambuf > + struct StackArrayStream : public std::basic_streambuf> { explicit StackArrayStream (char* d) { diff --git a/modules/juce_dsp/containers/juce_AudioBlock.h b/modules/juce_dsp/containers/juce_AudioBlock.h index b8a40f23af..54cd7c0ff6 100644 --- a/modules/juce_dsp/containers/juce_AudioBlock.h +++ b/modules/juce_dsp/containers/juce_AudioBlock.h @@ -504,7 +504,7 @@ public: // This class can only be used with floating point types static_assert (std::is_same::value || std::is_same::value #if JUCE_USE_SIMD - || std::is_same >::value || std::is_same >::value + || std::is_same>::value || std::is_same>::value #endif , "AudioBlock only supports single or double precision floating point types"); diff --git a/modules/juce_dsp/containers/juce_SIMDRegister.h b/modules/juce_dsp/containers/juce_SIMDRegister.h index ffcb086d9e..65165fe233 100644 --- a/modules/juce_dsp/containers/juce_SIMDRegister.h +++ b/modules/juce_dsp/containers/juce_SIMDRegister.h @@ -356,7 +356,7 @@ struct CmplxSIMDOps // The pure complex version template -struct CmplxSIMDOps > +struct CmplxSIMDOps> { typedef typename SIMDNativeOps::vSIMDType vSIMDType; @@ -379,7 +379,7 @@ struct CmplxSIMDOps > static inline std::complex JUCE_VECTOR_CALLTYPE sum (vSIMDType a) noexcept { vSIMDType result = SIMDNativeOps::oddevensum (a); - const Scalar* ptr = reinterpret_cast (&result); + auto* ptr = reinterpret_cast (&result); return std::complex (ptr[0], ptr[1]); } diff --git a/modules/juce_dsp/containers/juce_SIMDRegister_test.cpp b/modules/juce_dsp/containers/juce_SIMDRegister_test.cpp index 849869d5f6..1e91de6a5d 100644 --- a/modules/juce_dsp/containers/juce_SIMDRegister_test.cpp +++ b/modules/juce_dsp/containers/juce_SIMDRegister_test.cpp @@ -295,7 +295,7 @@ public: for (size_t i = 0; i < SIMDRegister::SIMDNumElements; ++i) Operation::template inplace (array_a[i], array_b[i]); - Operation::template inplace, SIMDRegister > (a, b); + Operation::template inplace, SIMDRegister> (a, b); u.expect (vecEqualToArray (a, array_a)); u.expect (vecEqualToArray (b, array_b)); @@ -325,7 +325,7 @@ public: for (size_t i = 0; i < SIMDRegister::SIMDNumElements; ++i) array_c[i] = Operation::template outofplace (array_a[i], array_b[i]); - c = Operation::template outofplace, SIMDRegister > (a, b); + c = Operation::template outofplace, SIMDRegister> (a, b); u.expect (vecEqualToArray (a, array_a)); u.expect (vecEqualToArray (b, array_b)); @@ -625,7 +625,7 @@ public: TheTest::template run(*this, random); TheTest::template run (*this, random); TheTest::template run(*this, random); - TheTest::template run > (*this, random); + TheTest::template run> (*this, random); TheTest::template run> (*this, random); } @@ -654,13 +654,13 @@ public: runTestForAllTypes ("AccessTest"); - runTestForAllTypes > ("AdditionOperators"); - runTestForAllTypes > ("SubtractionOperators"); - runTestForAllTypes > ("MultiplicationOperators"); + runTestForAllTypes> ("AdditionOperators"); + runTestForAllTypes> ("SubtractionOperators"); + runTestForAllTypes> ("MultiplicationOperators"); - runTestForAllTypes > ("BitANDOperators"); - runTestForAllTypes > ("BitOROperators"); - runTestForAllTypes > ("BitXOROperators"); + runTestForAllTypes> ("BitANDOperators"); + runTestForAllTypes> ("BitOROperators"); + runTestForAllTypes> ("BitXOROperators"); runTestNonComplex ("CheckComparisons"); runTestNonComplex ("CheckMinMax"); diff --git a/modules/juce_dsp/frequency/juce_FFT_test.cpp b/modules/juce_dsp/frequency/juce_FFT_test.cpp index 0bf3b1c156..9082384019 100644 --- a/modules/juce_dsp/frequency/juce_FFT_test.cpp +++ b/modules/juce_dsp/frequency/juce_FFT_test.cpp @@ -144,7 +144,7 @@ struct FFTUnitTest : public UnitTest FFT fft ((int) order); HeapBlock inout (n << 1), reference (n << 1); - HeapBlock > frequency (n); + HeapBlock> frequency (n); fillRandom (random, inout.getData(), n); zeromem (reference.getData(), sizeof (float) * (n << 1)); @@ -172,7 +172,7 @@ struct FFTUnitTest : public UnitTest FFT fft ((int) order); - HeapBlock > input (n), buffer (n), output (n), reference (n); + HeapBlock> input (n), buffer (n), output (n), reference (n); fillRandom (random, input.getData(), n); performReferenceFourier (input.getData(), reference.getData(), n, false); diff --git a/modules/juce_dsp/native/juce_fallback_SIMDNativeOps.h b/modules/juce_dsp/native/juce_fallback_SIMDNativeOps.h index 4701beb981..6456f4fc2c 100644 --- a/modules/juce_dsp/native/juce_fallback_SIMDNativeOps.h +++ b/modules/juce_dsp/native/juce_fallback_SIMDNativeOps.h @@ -40,11 +40,11 @@ namespace SIMDInternal template <> struct MaskTypeFor { typedef uint16_t type; }; template <> struct MaskTypeFor { typedef uint32_t type; }; template <> struct MaskTypeFor { typedef uint64_t type; }; - template <> struct MaskTypeFor > { typedef uint32_t type; }; - template <> struct MaskTypeFor > { typedef uint64_t type; }; + template <> struct MaskTypeFor > { typedef uint32_t type; }; + template <> struct MaskTypeFor > { typedef uint64_t type; }; template struct PrimitiveType { typedef Primitive type; }; - template struct PrimitiveType > { typedef Primitive type; }; + template struct PrimitiveType> { typedef Primitive type; }; template struct Log2Helper { enum { value = Log2Helper::value + 1 }; }; template <> struct Log2Helper<1> { enum { value = 0 }; }; diff --git a/modules/juce_gui_basics/components/juce_Component.h b/modules/juce_gui_basics/components/juce_Component.h index 9c9c55a566..1cf77c7d4f 100644 --- a/modules/juce_gui_basics/components/juce_Component.h +++ b/modules/juce_gui_basics/components/juce_Component.h @@ -2270,7 +2270,7 @@ private: friend class MouseListenerList; friend struct ContainerDeletePolicy; ScopedPointer mouseListeners; - ScopedPointer > keyListeners; + ScopedPointer> keyListeners; ListenerList componentListeners; NamedValueSet properties; diff --git a/modules/juce_gui_basics/native/juce_win32_Windowing.cpp b/modules/juce_gui_basics/native/juce_win32_Windowing.cpp index 8c487c20b2..5f101128e8 100644 --- a/modules/juce_gui_basics/native/juce_win32_Windowing.cpp +++ b/modules/juce_gui_basics/native/juce_win32_Windowing.cpp @@ -3386,7 +3386,7 @@ private: compositionRange.setLength (0); target->setHighlightedRegion (Range::emptyRange (compositionRange.getEnd())); - target->setTemporaryUnderlining (Array >()); + target->setTemporaryUnderlining ({}); } if (auto hImc = ImmGetContext (hWnd)) @@ -3414,7 +3414,7 @@ private: Range::emptyRange (-1)); reset(); - target->setTemporaryUnderlining (Array >()); + target->setTemporaryUnderlining ({}); } else if ((lParam & GCS_COMPSTR) != 0) // (composition is still in-progress) { diff --git a/modules/juce_gui_basics/widgets/juce_TextEditor.cpp b/modules/juce_gui_basics/widgets/juce_TextEditor.cpp index 0f3fd82af3..0bd49940f6 100644 --- a/modules/juce_gui_basics/widgets/juce_TextEditor.cpp +++ b/modules/juce_gui_basics/widgets/juce_TextEditor.cpp @@ -2106,7 +2106,7 @@ void TextEditor::handleCommandMessage (const int commandId) } } -void TextEditor::setTemporaryUnderlining (const Array >& newUnderlinedSections) +void TextEditor::setTemporaryUnderlining (const Array>& newUnderlinedSections) { underlinedSections = newUnderlinedSections; repaint(); diff --git a/modules/juce_gui_basics/widgets/juce_TextEditor.h b/modules/juce_gui_basics/widgets/juce_TextEditor.h index 3315c583c3..3afae595e2 100644 --- a/modules/juce_gui_basics/widgets/juce_TextEditor.h +++ b/modules/juce_gui_basics/widgets/juce_TextEditor.h @@ -659,7 +659,7 @@ public: /** @internal */ bool isTextInputActive() const override; /** @internal */ - void setTemporaryUnderlining (const Array >&) override; + void setTemporaryUnderlining (const Array>&) override; /** @internal */ VirtualKeyboardType getKeyboardType() override { return keyboardType; } diff --git a/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.cpp b/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.cpp index 079a436fc5..f5b266d62f 100644 --- a/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.cpp +++ b/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.cpp @@ -398,7 +398,7 @@ bool CodeEditorComponent::isTextInputActive() const return true; } -void CodeEditorComponent::setTemporaryUnderlining (const Array >&) +void CodeEditorComponent::setTemporaryUnderlining (const Array>&) { jassertfalse; // TODO Windows IME not yet supported for this comp.. } diff --git a/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.h b/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.h index ffa33c4eab..59e81d71c4 100644 --- a/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.h +++ b/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.h @@ -350,7 +350,7 @@ public: /** @internal */ bool isTextInputActive() const override; /** @internal */ - void setTemporaryUnderlining (const Array >&) override; + void setTemporaryUnderlining (const Array>&) override; /** @internal */ ApplicationCommandTarget* getNextCommandTarget() override; /** @internal */ diff --git a/modules/juce_osc/osc/juce_OSCReceiver.cpp b/modules/juce_osc/osc/juce_OSCReceiver.cpp index 3ee4110aef..707478de3e 100644 --- a/modules/juce_osc/osc/juce_OSCReceiver.cpp +++ b/modules/juce_osc/osc/juce_OSCReceiver.cpp @@ -470,7 +470,7 @@ private: template void addListenerWithAddress (ListenerType* listenerToAdd, OSCAddress address, - Array >& array) + Array>& array) { for (auto& i : array) if (address == i.first && listenerToAdd == i.second) @@ -482,7 +482,7 @@ private: //============================================================================== template void removeListenerWithAddress (ListenerType* listenerToRemove, - Array >& array) + Array>& array) { for (int i = 0; i < array.size(); ++i) { @@ -551,11 +551,11 @@ private: } //============================================================================== - ListenerList > listeners; - ListenerList > realtimeListeners; + ListenerList> listeners; + ListenerList> realtimeListeners; - Array* > > listenersWithAddress; - Array* > > realtimeListenersWithAddress; + Array*>> listenersWithAddress; + Array*>> realtimeListenersWithAddress; ScopedPointer socket; int portNumber = 0;