mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Noticed that we still had some template whitespace workarounds for older compilers, so tidied them up
This commit is contained in:
parent
9b386b86ec
commit
dd4230586f
26 changed files with 69 additions and 67 deletions
|
|
@ -470,7 +470,7 @@ private:
|
|||
template <typename ListenerType>
|
||||
void addListenerWithAddress (ListenerType* listenerToAdd,
|
||||
OSCAddress address,
|
||||
Array<std::pair<OSCAddress, ListenerType*> >& array)
|
||||
Array<std::pair<OSCAddress, ListenerType*>>& array)
|
||||
{
|
||||
for (auto& i : array)
|
||||
if (address == i.first && listenerToAdd == i.second)
|
||||
|
|
@ -482,7 +482,7 @@ private:
|
|||
//==============================================================================
|
||||
template <typename ListenerType>
|
||||
void removeListenerWithAddress (ListenerType* listenerToRemove,
|
||||
Array<std::pair<OSCAddress, ListenerType*> >& array)
|
||||
Array<std::pair<OSCAddress, ListenerType*>>& array)
|
||||
{
|
||||
for (int i = 0; i < array.size(); ++i)
|
||||
{
|
||||
|
|
@ -551,11 +551,11 @@ private:
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
ListenerList<OSCReceiver::Listener<OSCReceiver::MessageLoopCallback> > listeners;
|
||||
ListenerList<OSCReceiver::Listener<OSCReceiver::RealtimeCallback> > realtimeListeners;
|
||||
ListenerList<OSCReceiver::Listener<OSCReceiver::MessageLoopCallback>> listeners;
|
||||
ListenerList<OSCReceiver::Listener<OSCReceiver::RealtimeCallback>> realtimeListeners;
|
||||
|
||||
Array<std::pair<OSCAddress, OSCReceiver::ListenerWithOSCAddress<OSCReceiver::MessageLoopCallback>* > > listenersWithAddress;
|
||||
Array<std::pair<OSCAddress, OSCReceiver::ListenerWithOSCAddress<OSCReceiver::RealtimeCallback>* > > realtimeListenersWithAddress;
|
||||
Array<std::pair<OSCAddress, OSCReceiver::ListenerWithOSCAddress<OSCReceiver::MessageLoopCallback>*>> listenersWithAddress;
|
||||
Array<std::pair<OSCAddress, OSCReceiver::ListenerWithOSCAddress<OSCReceiver::RealtimeCallback>*>> realtimeListenersWithAddress;
|
||||
|
||||
ScopedPointer<DatagramSocket> socket;
|
||||
int portNumber = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue