Browse Source

Minor code clean-ups.

tags/2021-05-28
Julian Storer 15 years ago
parent
commit
08eb852103
100 changed files with 519 additions and 519 deletions
  1. +152
    -152
      juce_amalgamated.cpp
  2. +238
    -238
      juce_amalgamated.h
  3. +1
    -1
      src/application/juce_Application.h
  4. +2
    -2
      src/application/juce_ApplicationCommandTarget.h
  5. +1
    -1
      src/application/juce_ApplicationProperties.h
  6. +2
    -2
      src/audio/audio_file_formats/juce_AiffAudioFormat.cpp
  7. +1
    -1
      src/audio/audio_file_formats/juce_AudioCDReader.h
  8. +1
    -1
      src/audio/audio_file_formats/juce_AudioFormatReader.h
  9. +1
    -1
      src/audio/audio_file_formats/juce_AudioSubsectionReader.h
  10. +2
    -2
      src/audio/audio_file_formats/juce_WavAudioFormat.cpp
  11. +1
    -1
      src/audio/audio_sources/juce_AudioFormatReaderSource.h
  12. +1
    -1
      src/audio/audio_sources/juce_AudioSourcePlayer.h
  13. +1
    -1
      src/audio/audio_sources/juce_AudioTransportSource.h
  14. +1
    -1
      src/audio/audio_sources/juce_BufferingAudioSource.cpp
  15. +1
    -1
      src/audio/audio_sources/juce_BufferingAudioSource.h
  16. +1
    -1
      src/audio/audio_sources/juce_ChannelRemappingAudioSource.h
  17. +1
    -1
      src/audio/audio_sources/juce_IIRFilterAudioSource.h
  18. +1
    -1
      src/audio/audio_sources/juce_MixerAudioSource.h
  19. +1
    -1
      src/audio/audio_sources/juce_ResamplingAudioSource.h
  20. +1
    -1
      src/audio/audio_sources/juce_ToneGeneratorAudioSource.h
  21. +1
    -1
      src/audio/devices/juce_AudioDeviceManager.h
  22. +1
    -1
      src/audio/devices/juce_AudioIODeviceType.h
  23. +1
    -1
      src/audio/dsp/juce_AudioSampleBuffer.cpp
  24. +1
    -1
      src/audio/dsp/juce_AudioSampleBuffer.h
  25. +1
    -1
      src/audio/dsp/juce_IIRFilter.h
  26. +1
    -1
      src/audio/midi/juce_MidiBuffer.cpp
  27. +2
    -2
      src/audio/midi/juce_MidiBuffer.h
  28. +1
    -1
      src/audio/midi/juce_MidiFile.h
  29. +1
    -1
      src/audio/midi/juce_MidiKeyboardState.h
  30. +1
    -1
      src/audio/midi/juce_MidiMessage.cpp
  31. +1
    -1
      src/audio/midi/juce_MidiMessage.h
  32. +1
    -1
      src/audio/midi/juce_MidiMessageCollector.h
  33. +1
    -1
      src/audio/plugins/formats/juce_AudioUnitPluginFormat.h
  34. +1
    -1
      src/audio/plugins/formats/juce_VSTPluginFormat.h
  35. +1
    -1
      src/audio/plugins/juce_AudioPluginFormat.h
  36. +1
    -1
      src/audio/plugins/juce_AudioPluginFormatManager.h
  37. +1
    -1
      src/audio/plugins/juce_AudioPluginInstance.h
  38. +1
    -1
      src/audio/plugins/juce_KnownPluginList.h
  39. +1
    -1
      src/audio/plugins/juce_PluginDescription.cpp
  40. +1
    -1
      src/audio/plugins/juce_PluginDescription.h
  41. +1
    -1
      src/audio/plugins/juce_PluginDirectoryScanner.h
  42. +1
    -1
      src/audio/plugins/juce_PluginListComponent.h
  43. +1
    -1
      src/audio/processors/juce_AudioProcessor.h
  44. +8
    -8
      src/audio/processors/juce_AudioProcessorGraph.cpp
  45. +3
    -3
      src/audio/processors/juce_AudioProcessorGraph.h
  46. +1
    -1
      src/audio/processors/juce_AudioProcessorPlayer.h
  47. +2
    -2
      src/audio/processors/juce_GenericAudioProcessorEditor.cpp
  48. +1
    -1
      src/audio/processors/juce_GenericAudioProcessorEditor.h
  49. +1
    -1
      src/audio/synthesisers/juce_Synthesiser.h
  50. +1
    -1
      src/containers/juce_HeapBlock.h
  51. +1
    -1
      src/containers/juce_PropertySet.cpp
  52. +1
    -1
      src/containers/juce_PropertySet.h
  53. +2
    -2
      src/containers/juce_ReferenceCountedObject.h
  54. +2
    -2
      src/containers/juce_ScopedPointer.h
  55. +3
    -3
      src/containers/juce_Value.cpp
  56. +3
    -3
      src/containers/juce_Value.h
  57. +4
    -4
      src/containers/juce_ValueTree.cpp
  58. +2
    -2
      src/containers/juce_ValueTree.h
  59. +1
    -1
      src/core/juce_FileLogger.h
  60. +2
    -2
      src/core/juce_PlatformUtilities.h
  61. +1
    -1
      src/core/juce_RelativeTime.cpp
  62. +1
    -1
      src/core/juce_RelativeTime.h
  63. +1
    -1
      src/core/juce_Time.cpp
  64. +1
    -1
      src/core/juce_Time.h
  65. +1
    -1
      src/cryptography/juce_BlowFish.cpp
  66. +1
    -1
      src/cryptography/juce_BlowFish.h
  67. +1
    -1
      src/cryptography/juce_MD5.cpp
  68. +1
    -1
      src/cryptography/juce_MD5.h
  69. +1
    -1
      src/events/juce_ActionBroadcaster.h
  70. +1
    -1
      src/events/juce_ActionListenerList.cpp
  71. +1
    -1
      src/events/juce_ActionListenerList.h
  72. +1
    -1
      src/events/juce_AsyncUpdater.h
  73. +1
    -1
      src/events/juce_CallbackMessage.h
  74. +1
    -1
      src/events/juce_ChangeBroadcaster.h
  75. +1
    -1
      src/events/juce_ChangeListenerList.h
  76. +1
    -1
      src/events/juce_InterprocessConnection.h
  77. +1
    -1
      src/events/juce_InterprocessConnectionServer.h
  78. +1
    -1
      src/events/juce_Message.h
  79. +1
    -1
      src/events/juce_MessageManager.h
  80. +1
    -1
      src/events/juce_MultiTimer.h
  81. +1
    -1
      src/events/juce_Timer.h
  82. +1
    -1
      src/gui/components/buttons/juce_ArrowButton.h
  83. +1
    -1
      src/gui/components/buttons/juce_Button.h
  84. +1
    -1
      src/gui/components/buttons/juce_DrawableButton.h
  85. +1
    -1
      src/gui/components/buttons/juce_HyperlinkButton.h
  86. +1
    -1
      src/gui/components/buttons/juce_ImageButton.h
  87. +1
    -1
      src/gui/components/buttons/juce_ShapeButton.h
  88. +1
    -1
      src/gui/components/buttons/juce_TextButton.h
  89. +1
    -1
      src/gui/components/buttons/juce_ToggleButton.h
  90. +1
    -1
      src/gui/components/buttons/juce_ToolbarButton.h
  91. +4
    -4
      src/gui/components/code_editor/juce_CodeDocument.cpp
  92. +3
    -3
      src/gui/components/code_editor/juce_CodeDocument.h
  93. +1
    -1
      src/gui/components/code_editor/juce_CodeEditorComponent.h
  94. +1
    -1
      src/gui/components/controls/juce_ComboBox.h
  95. +1
    -1
      src/gui/components/controls/juce_Label.h
  96. +2
    -2
      src/gui/components/controls/juce_ListBox.cpp
  97. +1
    -1
      src/gui/components/controls/juce_ListBox.h
  98. +1
    -1
      src/gui/components/controls/juce_ProgressBar.h
  99. +1
    -1
      src/gui/components/controls/juce_Slider.cpp
  100. +1
    -1
      src/gui/components/controls/juce_Slider.h

+ 152
- 152
juce_amalgamated.cpp
File diff suppressed because it is too large
View File


+ 238
- 238
juce_amalgamated.h
File diff suppressed because it is too large
View File


+ 1
- 1
src/application/juce_Application.h View File

@@ -292,7 +292,7 @@ private:
ScopedPointer<InterProcessLock> appLock; ScopedPointer<InterProcessLock> appLock;
JUCEApplication (const JUCEApplication&); JUCEApplication (const JUCEApplication&);
const JUCEApplication& operator= (const JUCEApplication&);
JUCEApplication& operator= (const JUCEApplication&);
public: public:
/** @internal */ /** @internal */


+ 2
- 2
src/application/juce_ApplicationCommandTarget.h View File

@@ -251,7 +251,7 @@ private:
ApplicationCommandTarget* const owner; ApplicationCommandTarget* const owner;
CommandTargetMessageInvoker (const CommandTargetMessageInvoker&); CommandTargetMessageInvoker (const CommandTargetMessageInvoker&);
const CommandTargetMessageInvoker& operator= (const CommandTargetMessageInvoker&);
CommandTargetMessageInvoker& operator= (const CommandTargetMessageInvoker&);
}; };
ScopedPointer <CommandTargetMessageInvoker> messageInvoker; ScopedPointer <CommandTargetMessageInvoker> messageInvoker;
@@ -260,7 +260,7 @@ private:
bool tryToInvoke (const InvocationInfo& info, const bool async); bool tryToInvoke (const InvocationInfo& info, const bool async);
ApplicationCommandTarget (const ApplicationCommandTarget&); ApplicationCommandTarget (const ApplicationCommandTarget&);
const ApplicationCommandTarget& operator= (const ApplicationCommandTarget&);
ApplicationCommandTarget& operator= (const ApplicationCommandTarget&);
}; };


+ 1
- 1
src/application/juce_ApplicationProperties.h View File

@@ -156,7 +156,7 @@ private:
int commonSettingsAreReadOnly; int commonSettingsAreReadOnly;
ApplicationProperties (const ApplicationProperties&); ApplicationProperties (const ApplicationProperties&);
const ApplicationProperties& operator= (const ApplicationProperties&);
ApplicationProperties& operator= (const ApplicationProperties&);
void openFiles() throw(); void openFiles() throw();
}; };


+ 2
- 2
src/audio/audio_file_formats/juce_AiffAudioFormat.cpp View File

@@ -501,7 +501,7 @@ public:
private: private:
AiffAudioFormatReader (const AiffAudioFormatReader&); AiffAudioFormatReader (const AiffAudioFormatReader&);
const AiffAudioFormatReader& operator= (const AiffAudioFormatReader&);
AiffAudioFormatReader& operator= (const AiffAudioFormatReader&);
static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); } static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); }
}; };
@@ -517,7 +517,7 @@ class AiffAudioFormatWriter : public AudioFormatWriter
static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); } static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); }
AiffAudioFormatWriter (const AiffAudioFormatWriter&); AiffAudioFormatWriter (const AiffAudioFormatWriter&);
const AiffAudioFormatWriter& operator= (const AiffAudioFormatWriter&);
AiffAudioFormatWriter& operator= (const AiffAudioFormatWriter&);
void writeHeader() void writeHeader()
{ {


+ 1
- 1
src/audio/audio_file_formats/juce_AudioCDReader.h View File

@@ -178,7 +178,7 @@ private:
#endif #endif
AudioCDReader (const AudioCDReader&); AudioCDReader (const AudioCDReader&);
const AudioCDReader& operator= (const AudioCDReader&);
AudioCDReader& operator= (const AudioCDReader&);
}; };
#endif #endif


+ 1
- 1
src/audio/audio_file_formats/juce_AudioFormatReader.h View File

@@ -222,7 +222,7 @@ private:
String formatName; String formatName;
AudioFormatReader (const AudioFormatReader&); AudioFormatReader (const AudioFormatReader&);
const AudioFormatReader& operator= (const AudioFormatReader&);
AudioFormatReader& operator= (const AudioFormatReader&);
}; };


+ 1
- 1
src/audio/audio_file_formats/juce_AudioSubsectionReader.h View File

@@ -87,7 +87,7 @@ private:
const bool deleteSourceWhenDeleted; const bool deleteSourceWhenDeleted;
AudioSubsectionReader (const AudioSubsectionReader&); AudioSubsectionReader (const AudioSubsectionReader&);
const AudioSubsectionReader& operator= (const AudioSubsectionReader&);
AudioSubsectionReader& operator= (const AudioSubsectionReader&);
}; };
#endif // __JUCE_AUDIOSUBSECTIONREADER_JUCEHEADER__ #endif // __JUCE_AUDIOSUBSECTIONREADER_JUCEHEADER__

+ 2
- 2
src/audio/audio_file_formats/juce_WavAudioFormat.cpp View File

@@ -264,7 +264,7 @@ class WavAudioFormatReader : public AudioFormatReader
static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); } static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); }
WavAudioFormatReader (const WavAudioFormatReader&); WavAudioFormatReader (const WavAudioFormatReader&);
const WavAudioFormatReader& operator= (const WavAudioFormatReader&);
WavAudioFormatReader& operator= (const WavAudioFormatReader&);
public: public:
int64 bwavChunkStart, bwavSize; int64 bwavChunkStart, bwavSize;
@@ -619,7 +619,7 @@ class WavAudioFormatWriter : public AudioFormatWriter
static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); } static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); }
WavAudioFormatWriter (const WavAudioFormatWriter&); WavAudioFormatWriter (const WavAudioFormatWriter&);
const WavAudioFormatWriter& operator= (const WavAudioFormatWriter&);
WavAudioFormatWriter& operator= (const WavAudioFormatWriter&);
void writeHeader() void writeHeader()
{ {


+ 1
- 1
src/audio/audio_sources/juce_AudioFormatReaderSource.h View File

@@ -105,7 +105,7 @@ private:
void readBufferSection (int start, int length, AudioSampleBuffer& buffer, int startSample); void readBufferSection (int start, int length, AudioSampleBuffer& buffer, int startSample);
AudioFormatReaderSource (const AudioFormatReaderSource&); AudioFormatReaderSource (const AudioFormatReaderSource&);
const AudioFormatReaderSource& operator= (const AudioFormatReaderSource&);
AudioFormatReaderSource& operator= (const AudioFormatReaderSource&);
}; };


+ 1
- 1
src/audio/audio_sources/juce_AudioSourcePlayer.h View File

@@ -107,7 +107,7 @@ private:
float lastGain, gain; float lastGain, gain;
AudioSourcePlayer (const AudioSourcePlayer&); AudioSourcePlayer (const AudioSourcePlayer&);
const AudioSourcePlayer& operator= (const AudioSourcePlayer&);
AudioSourcePlayer& operator= (const AudioSourcePlayer&);
}; };


+ 1
- 1
src/audio/audio_sources/juce_AudioTransportSource.h View File

@@ -174,7 +174,7 @@ private:
bool isPrepared, inputStreamEOF; bool isPrepared, inputStreamEOF;
AudioTransportSource (const AudioTransportSource&); AudioTransportSource (const AudioTransportSource&);
const AudioTransportSource& operator= (const AudioTransportSource&);
AudioTransportSource& operator= (const AudioTransportSource&);
}; };


+ 1
- 1
src/audio/audio_sources/juce_BufferingAudioSource.cpp View File

@@ -115,7 +115,7 @@ private:
} }
SharedBufferingAudioSourceThread (const SharedBufferingAudioSourceThread&); SharedBufferingAudioSourceThread (const SharedBufferingAudioSourceThread&);
const SharedBufferingAudioSourceThread& operator= (const SharedBufferingAudioSourceThread&);
SharedBufferingAudioSourceThread& operator= (const SharedBufferingAudioSourceThread&);
}; };
juce_ImplementSingleton (SharedBufferingAudioSourceThread) juce_ImplementSingleton (SharedBufferingAudioSourceThread)


+ 1
- 1
src/audio/audio_sources/juce_BufferingAudioSource.h View File

@@ -105,7 +105,7 @@ private:
void readBufferSection (int start, int length, int bufferOffset); void readBufferSection (int start, int length, int bufferOffset);
BufferingAudioSource (const BufferingAudioSource&); BufferingAudioSource (const BufferingAudioSource&);
const BufferingAudioSource& operator= (const BufferingAudioSource&);
BufferingAudioSource& operator= (const BufferingAudioSource&);
}; };


+ 1
- 1
src/audio/audio_sources/juce_ChannelRemappingAudioSource.h View File

@@ -149,7 +149,7 @@ private:
CriticalSection lock; CriticalSection lock;
ChannelRemappingAudioSource (const ChannelRemappingAudioSource&); ChannelRemappingAudioSource (const ChannelRemappingAudioSource&);
const ChannelRemappingAudioSource& operator= (const ChannelRemappingAudioSource&);
ChannelRemappingAudioSource& operator= (const ChannelRemappingAudioSource&);
}; };


+ 1
- 1
src/audio/audio_sources/juce_IIRFilterAudioSource.h View File

@@ -72,7 +72,7 @@ private:
OwnedArray <IIRFilter> iirFilters; OwnedArray <IIRFilter> iirFilters;
IIRFilterAudioSource (const IIRFilterAudioSource&); IIRFilterAudioSource (const IIRFilterAudioSource&);
const IIRFilterAudioSource& operator= (const IIRFilterAudioSource&);
IIRFilterAudioSource& operator= (const IIRFilterAudioSource&);
}; };


+ 1
- 1
src/audio/audio_sources/juce_MixerAudioSource.h View File

@@ -119,7 +119,7 @@ private:
int bufferSizeExpected; int bufferSizeExpected;
MixerAudioSource (const MixerAudioSource&); MixerAudioSource (const MixerAudioSource&);
const MixerAudioSource& operator= (const MixerAudioSource&);
MixerAudioSource& operator= (const MixerAudioSource&);
}; };


+ 1
- 1
src/audio/audio_sources/juce_ResamplingAudioSource.h View File

@@ -99,7 +99,7 @@ private:
void applyFilter (float* samples, int num, FilterState& fs); void applyFilter (float* samples, int num, FilterState& fs);
ResamplingAudioSource (const ResamplingAudioSource&); ResamplingAudioSource (const ResamplingAudioSource&);
const ResamplingAudioSource& operator= (const ResamplingAudioSource&);
ResamplingAudioSource& operator= (const ResamplingAudioSource&);
}; };


+ 1
- 1
src/audio/audio_sources/juce_ToneGeneratorAudioSource.h View File

@@ -73,7 +73,7 @@ private:
float amplitude; float amplitude;
ToneGeneratorAudioSource (const ToneGeneratorAudioSource&); ToneGeneratorAudioSource (const ToneGeneratorAudioSource&);
const ToneGeneratorAudioSource& operator= (const ToneGeneratorAudioSource&);
ToneGeneratorAudioSource& operator= (const ToneGeneratorAudioSource&);
}; };


+ 1
- 1
src/audio/devices/juce_AudioDeviceManager.h View File

@@ -494,7 +494,7 @@ private:
AudioIODeviceType* findType (const String& inputName, const String& outputName); AudioIODeviceType* findType (const String& inputName, const String& outputName);
AudioDeviceManager (const AudioDeviceManager&); AudioDeviceManager (const AudioDeviceManager&);
const AudioDeviceManager& operator= (const AudioDeviceManager&);
AudioDeviceManager& operator= (const AudioDeviceManager&);
}; };
#endif // __JUCE_AUDIODEVICEMANAGER_JUCEHEADER__ #endif // __JUCE_AUDIODEVICEMANAGER_JUCEHEADER__

+ 1
- 1
src/audio/devices/juce_AudioIODeviceType.h View File

@@ -138,7 +138,7 @@ private:
String typeName; String typeName;
AudioIODeviceType (const AudioIODeviceType&); AudioIODeviceType (const AudioIODeviceType&);
const AudioIODeviceType& operator= (const AudioIODeviceType&);
AudioIODeviceType& operator= (const AudioIODeviceType&);
}; };


+ 1
- 1
src/audio/dsp/juce_AudioSampleBuffer.cpp View File

@@ -122,7 +122,7 @@ void AudioSampleBuffer::allocateChannels (float** const dataToReferTo)
channels [numChannels] = 0; channels [numChannels] = 0;
} }
const AudioSampleBuffer& AudioSampleBuffer::operator= (const AudioSampleBuffer& other) throw()
AudioSampleBuffer& AudioSampleBuffer::operator= (const AudioSampleBuffer& other) throw()
{ {
if (this != &other) if (this != &other)
{ {


+ 1
- 1
src/audio/dsp/juce_AudioSampleBuffer.h View File

@@ -82,7 +82,7 @@ public:
This buffer's size will be changed to that of the other buffer. This buffer's size will be changed to that of the other buffer.
*/ */
const AudioSampleBuffer& operator= (const AudioSampleBuffer& other) throw();
AudioSampleBuffer& operator= (const AudioSampleBuffer& other) throw();
/** Destructor. /** Destructor.


+ 1
- 1
src/audio/dsp/juce_IIRFilter.h View File

@@ -146,7 +146,7 @@ protected:
float x1, x2, y1, y2; float x1, x2, y1, y2;
// (use the copyCoefficientsFrom() method instead of this operator) // (use the copyCoefficientsFrom() method instead of this operator)
const IIRFilter& operator= (const IIRFilter&);
IIRFilter& operator= (const IIRFilter&);
}; };


+ 1
- 1
src/audio/midi/juce_MidiBuffer.cpp View File

@@ -48,7 +48,7 @@ MidiBuffer::MidiBuffer (const MidiBuffer& other) throw()
{ {
} }
const MidiBuffer& MidiBuffer::operator= (const MidiBuffer& other) throw()
MidiBuffer& MidiBuffer::operator= (const MidiBuffer& other) throw()
{ {
bytesUsed = other.bytesUsed; bytesUsed = other.bytesUsed;
data = other.data; data = other.data;


+ 2
- 2
src/audio/midi/juce_MidiBuffer.h View File

@@ -53,7 +53,7 @@ public:
MidiBuffer (const MidiBuffer& other) throw(); MidiBuffer (const MidiBuffer& other) throw();
/** Makes a copy of another MidiBuffer. */ /** Makes a copy of another MidiBuffer. */
const MidiBuffer& operator= (const MidiBuffer& other) throw();
MidiBuffer& operator= (const MidiBuffer& other) throw();
/** Destructor */ /** Destructor */
~MidiBuffer() throw(); ~MidiBuffer() throw();
@@ -217,7 +217,7 @@ public:
const uint8* data; const uint8* data;
Iterator (const Iterator&); Iterator (const Iterator&);
const Iterator& operator= (const Iterator&);
Iterator& operator= (const Iterator&);
}; };


+ 1
- 1
src/audio/midi/juce_MidiFile.h View File

@@ -186,7 +186,7 @@ private:
short timeFormat; short timeFormat;
MidiFile (const MidiFile&); MidiFile (const MidiFile&);
const MidiFile& operator= (const MidiFile&);
MidiFile& operator= (const MidiFile&);
void readNextTrack (const char* data, int size); void readNextTrack (const char* data, int size);
void writeTrack (OutputStream& mainOut, const int trackNum); void writeTrack (OutputStream& mainOut, const int trackNum);


+ 1
- 1
src/audio/midi/juce_MidiKeyboardState.h View File

@@ -207,7 +207,7 @@ private:
void noteOffInternal (const int midiChannel, const int midiNoteNumber); void noteOffInternal (const int midiChannel, const int midiNoteNumber);
MidiKeyboardState (const MidiKeyboardState&); MidiKeyboardState (const MidiKeyboardState&);
const MidiKeyboardState& operator= (const MidiKeyboardState&);
MidiKeyboardState& operator= (const MidiKeyboardState&);
}; };


+ 1
- 1
src/audio/midi/juce_MidiMessage.cpp View File

@@ -252,7 +252,7 @@ MidiMessage::MidiMessage (const uint8* src,
} }
} }
const MidiMessage& MidiMessage::operator= (const MidiMessage& other) throw()
MidiMessage& MidiMessage::operator= (const MidiMessage& other) throw()
{ {
if (this != &other) if (this != &other)
{ {


+ 1
- 1
src/audio/midi/juce_MidiMessage.h View File

@@ -111,7 +111,7 @@ public:
~MidiMessage() throw(); ~MidiMessage() throw();
/** Copies this message from another one. */ /** Copies this message from another one. */
const MidiMessage& operator= (const MidiMessage& other) throw();
MidiMessage& operator= (const MidiMessage& other) throw();
//============================================================================== //==============================================================================
/** Returns a pointer to the raw midi data. /** Returns a pointer to the raw midi data.


+ 1
- 1
src/audio/midi/juce_MidiMessageCollector.h View File

@@ -102,7 +102,7 @@ private:
double sampleRate; double sampleRate;
MidiMessageCollector (const MidiMessageCollector&); MidiMessageCollector (const MidiMessageCollector&);
const MidiMessageCollector& operator= (const MidiMessageCollector&);
MidiMessageCollector& operator= (const MidiMessageCollector&);
}; };


+ 1
- 1
src/audio/plugins/formats/juce_AudioUnitPluginFormat.h View File

@@ -56,7 +56,7 @@ public:
private: private:
AudioUnitPluginFormat (const AudioUnitPluginFormat&); AudioUnitPluginFormat (const AudioUnitPluginFormat&);
const AudioUnitPluginFormat& operator= (const AudioUnitPluginFormat&);
AudioUnitPluginFormat& operator= (const AudioUnitPluginFormat&);
}; };
#endif #endif


+ 1
- 1
src/audio/plugins/formats/juce_VSTPluginFormat.h View File

@@ -57,7 +57,7 @@ public:
private: private:
VSTPluginFormat (const VSTPluginFormat&); VSTPluginFormat (const VSTPluginFormat&);
const VSTPluginFormat& operator= (const VSTPluginFormat&);
VSTPluginFormat& operator= (const VSTPluginFormat&);
void recursiveFileSearch (StringArray& results, const File& dir, const bool recursive); void recursiveFileSearch (StringArray& results, const File& dir, const bool recursive);
}; };


+ 1
- 1
src/audio/plugins/juce_AudioPluginFormat.h View File

@@ -113,7 +113,7 @@ protected:
AudioPluginFormat() throw(); AudioPluginFormat() throw();
AudioPluginFormat (const AudioPluginFormat&); AudioPluginFormat (const AudioPluginFormat&);
const AudioPluginFormat& operator= (const AudioPluginFormat&);
AudioPluginFormat& operator= (const AudioPluginFormat&);
}; };


+ 1
- 1
src/audio/plugins/juce_AudioPluginFormatManager.h View File

@@ -99,7 +99,7 @@ private:
OwnedArray <AudioPluginFormat> formats; OwnedArray <AudioPluginFormat> formats;
AudioPluginFormatManager (const AudioPluginFormatManager&); AudioPluginFormatManager (const AudioPluginFormatManager&);
const AudioPluginFormatManager& operator= (const AudioPluginFormatManager&);
AudioPluginFormatManager& operator= (const AudioPluginFormatManager&);
}; };


+ 1
- 1
src/audio/plugins/juce_AudioPluginInstance.h View File

@@ -63,7 +63,7 @@ protected:
AudioPluginInstance(); AudioPluginInstance();
AudioPluginInstance (const AudioPluginInstance&); AudioPluginInstance (const AudioPluginInstance&);
const AudioPluginInstance& operator= (const AudioPluginInstance&);
AudioPluginInstance& operator= (const AudioPluginInstance&);
}; };


+ 1
- 1
src/audio/plugins/juce_KnownPluginList.h View File

@@ -164,7 +164,7 @@ private:
OwnedArray <PluginDescription> types; OwnedArray <PluginDescription> types;
KnownPluginList (const KnownPluginList&); KnownPluginList (const KnownPluginList&);
const KnownPluginList& operator= (const KnownPluginList&);
KnownPluginList& operator= (const KnownPluginList&);
}; };


+ 1
- 1
src/audio/plugins/juce_PluginDescription.cpp View File

@@ -59,7 +59,7 @@ PluginDescription::PluginDescription (const PluginDescription& other) throw()
{ {
} }
const PluginDescription& PluginDescription::operator= (const PluginDescription& other) throw()
PluginDescription& PluginDescription::operator= (const PluginDescription& other) throw()
{ {
name = other.name; name = other.name;
pluginFormatName = other.pluginFormatName; pluginFormatName = other.pluginFormatName;


+ 1
- 1
src/audio/plugins/juce_PluginDescription.h View File

@@ -47,7 +47,7 @@ public:
//============================================================================== //==============================================================================
PluginDescription() throw(); PluginDescription() throw();
PluginDescription (const PluginDescription& other) throw(); PluginDescription (const PluginDescription& other) throw();
const PluginDescription& operator= (const PluginDescription& other) throw();
PluginDescription& operator= (const PluginDescription& other) throw();
~PluginDescription() throw(); ~PluginDescription() throw();
//============================================================================== //==============================================================================


+ 1
- 1
src/audio/plugins/juce_PluginDirectoryScanner.h View File

@@ -116,7 +116,7 @@ private:
void setDeadMansPedalFile (const StringArray& newContents) throw(); void setDeadMansPedalFile (const StringArray& newContents) throw();
PluginDirectoryScanner (const PluginDirectoryScanner&); PluginDirectoryScanner (const PluginDirectoryScanner&);
const PluginDirectoryScanner& operator= (const PluginDirectoryScanner&);
PluginDirectoryScanner& operator= (const PluginDirectoryScanner&);
}; };


+ 1
- 1
src/audio/plugins/juce_PluginListComponent.h View File

@@ -94,7 +94,7 @@ private:
void scanFor (AudioPluginFormat* format); void scanFor (AudioPluginFormat* format);
PluginListComponent (const PluginListComponent&); PluginListComponent (const PluginListComponent&);
const PluginListComponent& operator= (const PluginListComponent&);
PluginListComponent& operator= (const PluginListComponent&);
}; };


+ 1
- 1
src/audio/processors/juce_AudioProcessor.h View File

@@ -583,7 +583,7 @@ private:
#endif #endif
AudioProcessor (const AudioProcessor&); AudioProcessor (const AudioProcessor&);
const AudioProcessor& operator= (const AudioProcessor&);
AudioProcessor& operator= (const AudioProcessor&);
}; };


+ 8
- 8
src/audio/processors/juce_AudioProcessorGraph.cpp View File

@@ -375,7 +375,7 @@ private:
const int channelNum; const int channelNum;
ClearChannelOp (const ClearChannelOp&); ClearChannelOp (const ClearChannelOp&);
const ClearChannelOp& operator= (const ClearChannelOp&);
ClearChannelOp& operator= (const ClearChannelOp&);
}; };
//============================================================================== //==============================================================================
@@ -398,7 +398,7 @@ private:
const int srcChannelNum, dstChannelNum; const int srcChannelNum, dstChannelNum;
CopyChannelOp (const CopyChannelOp&); CopyChannelOp (const CopyChannelOp&);
const CopyChannelOp& operator= (const CopyChannelOp&);
CopyChannelOp& operator= (const CopyChannelOp&);
}; };
//============================================================================== //==============================================================================
@@ -421,7 +421,7 @@ private:
const int srcChannelNum, dstChannelNum; const int srcChannelNum, dstChannelNum;
AddChannelOp (const AddChannelOp&); AddChannelOp (const AddChannelOp&);
const AddChannelOp& operator= (const AddChannelOp&);
AddChannelOp& operator= (const AddChannelOp&);
}; };
//============================================================================== //==============================================================================
@@ -443,7 +443,7 @@ private:
const int bufferNum; const int bufferNum;
ClearMidiBufferOp (const ClearMidiBufferOp&); ClearMidiBufferOp (const ClearMidiBufferOp&);
const ClearMidiBufferOp& operator= (const ClearMidiBufferOp&);
ClearMidiBufferOp& operator= (const ClearMidiBufferOp&);
}; };
//============================================================================== //==============================================================================
@@ -466,7 +466,7 @@ private:
const int srcBufferNum, dstBufferNum; const int srcBufferNum, dstBufferNum;
CopyMidiBufferOp (const CopyMidiBufferOp&); CopyMidiBufferOp (const CopyMidiBufferOp&);
const CopyMidiBufferOp& operator= (const CopyMidiBufferOp&);
CopyMidiBufferOp& operator= (const CopyMidiBufferOp&);
}; };
//============================================================================== //==============================================================================
@@ -490,7 +490,7 @@ private:
const int srcBufferNum, dstBufferNum; const int srcBufferNum, dstBufferNum;
AddMidiBufferOp (const AddMidiBufferOp&); AddMidiBufferOp (const AddMidiBufferOp&);
const AddMidiBufferOp& operator= (const AddMidiBufferOp&);
AddMidiBufferOp& operator= (const AddMidiBufferOp&);
}; };
//============================================================================== //==============================================================================
@@ -537,7 +537,7 @@ private:
int midiBufferToUse; int midiBufferToUse;
ProcessBufferOp (const ProcessBufferOp&); ProcessBufferOp (const ProcessBufferOp&);
const ProcessBufferOp& operator= (const ProcessBufferOp&);
ProcessBufferOp& operator= (const ProcessBufferOp&);
}; };
//============================================================================== //==============================================================================
@@ -957,7 +957,7 @@ private:
} }
RenderingOpSequenceCalculator (const RenderingOpSequenceCalculator&); RenderingOpSequenceCalculator (const RenderingOpSequenceCalculator&);
const RenderingOpSequenceCalculator& operator= (const RenderingOpSequenceCalculator&);
RenderingOpSequenceCalculator& operator= (const RenderingOpSequenceCalculator&);
}; };
} }


+ 3
- 3
src/audio/processors/juce_AudioProcessorGraph.h View File

@@ -112,7 +112,7 @@ public:
void unprepare(); void unprepare();
Node (const Node&); Node (const Node&);
const Node& operator= (const Node&);
Node& operator= (const Node&);
}; };
//============================================================================== //==============================================================================
@@ -363,7 +363,7 @@ public:
AudioProcessorGraph* graph; AudioProcessorGraph* graph;
AudioGraphIOProcessor (const AudioGraphIOProcessor&); AudioGraphIOProcessor (const AudioGraphIOProcessor&);
const AudioGraphIOProcessor& operator= (const AudioGraphIOProcessor&);
AudioGraphIOProcessor& operator= (const AudioGraphIOProcessor&);
}; };
//============================================================================== //==============================================================================
@@ -430,7 +430,7 @@ private:
const int recursionCheck) const; const int recursionCheck) const;
AudioProcessorGraph (const AudioProcessorGraph&); AudioProcessorGraph (const AudioProcessorGraph&);
const AudioProcessorGraph& operator= (const AudioProcessorGraph&);
AudioProcessorGraph& operator= (const AudioProcessorGraph&);
}; };


+ 1
- 1
src/audio/processors/juce_AudioProcessorPlayer.h View File

@@ -106,7 +106,7 @@ private:
MidiMessageCollector messageCollector; MidiMessageCollector messageCollector;
AudioProcessorPlayer (const AudioProcessorPlayer&); AudioProcessorPlayer (const AudioProcessorPlayer&);
const AudioProcessorPlayer& operator= (const AudioProcessorPlayer&);
AudioProcessorPlayer& operator= (const AudioProcessorPlayer&);
}; };


+ 2
- 2
src/audio/processors/juce_GenericAudioProcessorEditor.cpp View File

@@ -121,11 +121,11 @@ private:
const int index; const int index;
ParamSlider (const ParamSlider&); ParamSlider (const ParamSlider&);
const ParamSlider& operator= (const ParamSlider&);
ParamSlider& operator= (const ParamSlider&);
}; };
ProcessorParameterPropertyComp (const ProcessorParameterPropertyComp&); ProcessorParameterPropertyComp (const ProcessorParameterPropertyComp&);
const ProcessorParameterPropertyComp& operator= (const ProcessorParameterPropertyComp&);
ProcessorParameterPropertyComp& operator= (const ProcessorParameterPropertyComp&);
}; };


+ 1
- 1
src/audio/processors/juce_GenericAudioProcessorEditor.h View File

@@ -59,7 +59,7 @@ private:
PropertyPanel* panel; PropertyPanel* panel;
GenericAudioProcessorEditor (const GenericAudioProcessorEditor&); GenericAudioProcessorEditor (const GenericAudioProcessorEditor&);
const GenericAudioProcessorEditor& operator= (const GenericAudioProcessorEditor&);
GenericAudioProcessorEditor& operator= (const GenericAudioProcessorEditor&);
}; };


+ 1
- 1
src/audio/synthesisers/juce_Synthesiser.h View File

@@ -477,7 +477,7 @@ private:
bool shouldStealNotes; bool shouldStealNotes;
Synthesiser (const Synthesiser&); Synthesiser (const Synthesiser&);
const Synthesiser& operator= (const Synthesiser&);
Synthesiser& operator= (const Synthesiser&);
}; };


+ 1
- 1
src/containers/juce_HeapBlock.h View File

@@ -235,7 +235,7 @@ private:
ElementType* data; ElementType* data;
HeapBlock (const HeapBlock&); HeapBlock (const HeapBlock&);
const HeapBlock& operator= (const HeapBlock&);
HeapBlock& operator= (const HeapBlock&);
}; };


+ 1
- 1
src/containers/juce_PropertySet.cpp View File

@@ -48,7 +48,7 @@ PropertySet::PropertySet (const PropertySet& other) throw()
{ {
} }
const PropertySet& PropertySet::operator= (const PropertySet& other) throw()
PropertySet& PropertySet::operator= (const PropertySet& other) throw()
{ {
properties = other.properties; properties = other.properties;
fallbackProperties = other.fallbackProperties; fallbackProperties = other.fallbackProperties;


+ 1
- 1
src/containers/juce_PropertySet.h View File

@@ -57,7 +57,7 @@ public:
/** Copies another PropertySet over this one. /** Copies another PropertySet over this one.
*/ */
const PropertySet& operator= (const PropertySet& other) throw();
PropertySet& operator= (const PropertySet& other) throw();
/** Destructor. */ /** Destructor. */
virtual ~PropertySet(); virtual ~PropertySet();


+ 2
- 2
src/containers/juce_ReferenceCountedObject.h View File

@@ -163,7 +163,7 @@ public:
The reference count of the old object is decremented, and it might be The reference count of the old object is decremented, and it might be
deleted if it hits zero. The new object's count is incremented. deleted if it hits zero. The new object's count is incremented.
*/ */
const ReferenceCountedObjectPtr<ReferenceCountedObjectClass>& operator= (const ReferenceCountedObjectPtr<ReferenceCountedObjectClass>& other)
ReferenceCountedObjectPtr<ReferenceCountedObjectClass>& operator= (const ReferenceCountedObjectPtr<ReferenceCountedObjectClass>& other)
{ {
ReferenceCountedObjectClass* const newObject = other.referencedObject; ReferenceCountedObjectClass* const newObject = other.referencedObject;
@@ -187,7 +187,7 @@ public:
The reference count of the old object is decremented, and it might be The reference count of the old object is decremented, and it might be
deleted if it hits zero. The new object's count is incremented. deleted if it hits zero. The new object's count is incremented.
*/ */
const ReferenceCountedObjectPtr<ReferenceCountedObjectClass>& operator= (ReferenceCountedObjectClass* const newObject)
ReferenceCountedObjectPtr<ReferenceCountedObjectClass>& operator= (ReferenceCountedObjectClass* const newObject)
{ {
if (referencedObject != newObject) if (referencedObject != newObject)
{ {


+ 2
- 2
src/containers/juce_ScopedPointer.h View File

@@ -86,7 +86,7 @@ public:
If this ScopedPointer already points to an object, that object If this ScopedPointer already points to an object, that object
will first be deleted. will first be deleted.
*/ */
const ScopedPointer& operator= (ScopedPointer& objectToTransferFrom)
ScopedPointer& operator= (ScopedPointer& objectToTransferFrom)
{ {
if (this != objectToTransferFrom.getAddress()) if (this != objectToTransferFrom.getAddress())
{ {
@@ -110,7 +110,7 @@ public:
The pointer that you pass is may be null. The pointer that you pass is may be null.
*/ */
const ScopedPointer& operator= (ObjectType* const newObjectToTakePossessionOf)
ScopedPointer& operator= (ObjectType* const newObjectToTakePossessionOf)
{ {
if (object != newObjectToTakePossessionOf) if (object != newObjectToTakePossessionOf)
{ {


+ 3
- 3
src/containers/juce_Value.cpp View File

@@ -96,7 +96,7 @@ private:
var value; var value;
SimpleValueSource (const SimpleValueSource&); SimpleValueSource (const SimpleValueSource&);
const SimpleValueSource& operator= (const SimpleValueSource&);
SimpleValueSource& operator= (const SimpleValueSource&);
}; };
@@ -122,7 +122,7 @@ Value::Value (const Value& other)
{ {
} }
const Value& Value::operator= (const Value& other)
Value& Value::operator= (const Value& other)
{ {
value = other.value; value = other.value;
return *this; return *this;
@@ -150,7 +150,7 @@ const String Value::toString() const
return value->getValue().toString(); return value->getValue().toString();
} }
const Value& Value::operator= (const var& newValue)
Value& Value::operator= (const var& newValue)
{ {
value->setValue (newValue); value->setValue (newValue);
return *this; return *this;


+ 3
- 3
src/containers/juce_Value.h View File

@@ -98,7 +98,7 @@ public:
If there are any listeners registered, they will be notified of the If there are any listeners registered, they will be notified of the
change asynchronously. change asynchronously.
*/ */
const Value& operator= (const var& newValue);
Value& operator= (const var& newValue);
/** Makes this object refer to the same underlying ValueSource as another one. /** Makes this object refer to the same underlying ValueSource as another one.
@@ -202,7 +202,7 @@ public:
void handleAsyncUpdate(); void handleAsyncUpdate();
ValueSource (const ValueSource&); ValueSource (const ValueSource&);
const ValueSource& operator= (const ValueSource&);
ValueSource& operator= (const ValueSource&);
}; };
@@ -223,7 +223,7 @@ private:
// This is disallowed to avoid confusion about whether it should // This is disallowed to avoid confusion about whether it should
// do a by-value or by-reference copy. // do a by-value or by-reference copy.
const Value& operator= (const Value& other);
Value& operator= (const Value& other);
}; };


+ 4
- 4
src/containers/juce_ValueTree.cpp View File

@@ -81,7 +81,7 @@ private:
const bool isAddingNewProperty, isDeletingProperty; const bool isAddingNewProperty, isDeletingProperty;
ValueTreeSetPropertyAction (const ValueTreeSetPropertyAction&); ValueTreeSetPropertyAction (const ValueTreeSetPropertyAction&);
const ValueTreeSetPropertyAction& operator= (const ValueTreeSetPropertyAction&);
ValueTreeSetPropertyAction& operator= (const ValueTreeSetPropertyAction&);
}; };
//============================================================================== //==============================================================================
@@ -131,7 +131,7 @@ private:
const bool isDeleting; const bool isDeleting;
ValueTreeChildChangeAction (const ValueTreeChildChangeAction&); ValueTreeChildChangeAction (const ValueTreeChildChangeAction&);
const ValueTreeChildChangeAction& operator= (const ValueTreeChildChangeAction&);
ValueTreeChildChangeAction& operator= (const ValueTreeChildChangeAction&);
}; };
@@ -437,7 +437,7 @@ ValueTree::ValueTree (const ValueTree& other)
{ {
} }
const ValueTree& ValueTree::operator= (const ValueTree& other)
ValueTree& ValueTree::operator= (const ValueTree& other)
{ {
if (listeners.size() > 0) if (listeners.size() > 0)
{ {
@@ -579,7 +579,7 @@ private:
const var::identifier property; const var::identifier property;
UndoManager* const undoManager; UndoManager* const undoManager;
const ValueTreePropertyValueSource& operator= (const ValueTreePropertyValueSource&);
ValueTreePropertyValueSource& operator= (const ValueTreePropertyValueSource&);
}; };
Value ValueTree::getPropertyAsValue (const var::identifier& name, UndoManager* const undoManager) const Value ValueTree::getPropertyAsValue (const var::identifier& name, UndoManager* const undoManager) const


+ 2
- 2
src/containers/juce_ValueTree.h View File

@@ -82,7 +82,7 @@ public:
ValueTree (const ValueTree& other); ValueTree (const ValueTree& other);
/** Makes this object reference another node. */ /** Makes this object reference another node. */
const ValueTree& operator= (const ValueTree& other);
ValueTree& operator= (const ValueTree& other);
/** Destructor. */ /** Destructor. */
~ValueTree(); ~ValueTree();
@@ -417,7 +417,7 @@ private:
juce_UseDebuggingNewOperator juce_UseDebuggingNewOperator
private: private:
const SharedObject& operator= (const SharedObject&);
SharedObject& operator= (const SharedObject&);
}; };
template <typename ElementComparator> template <typename ElementComparator>


+ 1
- 1
src/core/juce_FileLogger.h View File

@@ -105,7 +105,7 @@ private:
void trimFileSize (int maxFileSizeBytes) const; void trimFileSize (int maxFileSizeBytes) const;
FileLogger (const FileLogger&); FileLogger (const FileLogger&);
const FileLogger& operator= (const FileLogger&);
FileLogger& operator= (const FileLogger&);
}; };


+ 2
- 2
src/core/juce_PlatformUtilities.h View File

@@ -213,7 +213,7 @@ private:
void* pool; void* pool;
ScopedAutoReleasePool (const ScopedAutoReleasePool&); ScopedAutoReleasePool (const ScopedAutoReleasePool&);
const ScopedAutoReleasePool& operator= (const ScopedAutoReleasePool&);
ScopedAutoReleasePool& operator= (const ScopedAutoReleasePool&);
}; };
#endif #endif
@@ -327,7 +327,7 @@ private:
bool open (const bool openInExclusiveMode); bool open (const bool openInExclusiveMode);
AppleRemoteDevice (const AppleRemoteDevice&); AppleRemoteDevice (const AppleRemoteDevice&);
const AppleRemoteDevice& operator= (const AppleRemoteDevice&);
AppleRemoteDevice& operator= (const AppleRemoteDevice&);
}; };
#endif #endif


+ 1
- 1
src/core/juce_RelativeTime.cpp View File

@@ -178,7 +178,7 @@ const String RelativeTime::getDescription (const String& returnValueForZeroTime)
} }
//============================================================================== //==============================================================================
const RelativeTime& RelativeTime::operator= (const RelativeTime& other) throw()
RelativeTime& RelativeTime::operator= (const RelativeTime& other) throw()
{ {
seconds = other.seconds; seconds = other.seconds;
return *this; return *this;


+ 1
- 1
src/core/juce_RelativeTime.h View File

@@ -52,7 +52,7 @@ public:
RelativeTime (const RelativeTime& other) throw(); RelativeTime (const RelativeTime& other) throw();
/** Copies another relative time. */ /** Copies another relative time. */
const RelativeTime& operator= (const RelativeTime& other) throw();
RelativeTime& operator= (const RelativeTime& other) throw();
/** Destructor. */ /** Destructor. */
~RelativeTime() throw(); ~RelativeTime() throw();


+ 1
- 1
src/core/juce_Time.cpp View File

@@ -173,7 +173,7 @@ Time::~Time() throw()
{ {
} }
const Time& Time::operator= (const Time& other) throw()
Time& Time::operator= (const Time& other) throw()
{ {
millisSinceEpoch = other.millisSinceEpoch; millisSinceEpoch = other.millisSinceEpoch;
return *this; return *this;


+ 1
- 1
src/core/juce_Time.h View File

@@ -93,7 +93,7 @@ public:
~Time() throw(); ~Time() throw();
/** Copies this time from another one. */ /** Copies this time from another one. */
const Time& operator= (const Time& other) throw();
Time& operator= (const Time& other) throw();
//============================================================================== //==============================================================================
/** Returns a Time object that is set to the current system time. /** Returns a Time object that is set to the current system time.


+ 1
- 1
src/cryptography/juce_BlowFish.cpp View File

@@ -360,7 +360,7 @@ BlowFish::BlowFish (const BlowFish& other)
operator= (other); operator= (other);
} }
const BlowFish& BlowFish::operator= (const BlowFish& other)
BlowFish& BlowFish::operator= (const BlowFish& other)
{ {
memcpy (p, other.p, sizeof (p)); memcpy (p, other.p, sizeof (p));


+ 1
- 1
src/cryptography/juce_BlowFish.h View File

@@ -48,7 +48,7 @@ public:
BlowFish (const BlowFish& other); BlowFish (const BlowFish& other);
/** Copies another blowfish object. */ /** Copies another blowfish object. */
const BlowFish& operator= (const BlowFish& other);
BlowFish& operator= (const BlowFish& other);
/** Destructor. */ /** Destructor. */
~BlowFish(); ~BlowFish();


+ 1
- 1
src/cryptography/juce_MD5.cpp View File

@@ -44,7 +44,7 @@ MD5::MD5 (const MD5& other)
memcpy (result, other.result, sizeof (result)); memcpy (result, other.result, sizeof (result));
} }
const MD5& MD5::operator= (const MD5& other)
MD5& MD5::operator= (const MD5& other)
{ {
memcpy (result, other.result, sizeof (result)); memcpy (result, other.result, sizeof (result));
return *this; return *this;


+ 1
- 1
src/cryptography/juce_MD5.h View File

@@ -51,7 +51,7 @@ public:
MD5 (const MD5& other); MD5 (const MD5& other);
/** Copies another MD5. */ /** Copies another MD5. */
const MD5& operator= (const MD5& other);
MD5& operator= (const MD5& other);
//============================================================================== //==============================================================================
/** Creates a checksum for a block of binary data. */ /** Creates a checksum for a block of binary data. */


+ 1
- 1
src/events/juce_ActionBroadcaster.h View File

@@ -76,7 +76,7 @@ private:
ActionListenerList actionListenerList; ActionListenerList actionListenerList;
ActionBroadcaster (const ActionBroadcaster&); ActionBroadcaster (const ActionBroadcaster&);
const ActionBroadcaster& operator= (const ActionBroadcaster&);
ActionBroadcaster& operator= (const ActionBroadcaster&);
}; };


+ 1
- 1
src/events/juce_ActionListenerList.cpp View File

@@ -52,7 +52,7 @@ public:
private: private:
ActionMessage (const ActionMessage&); ActionMessage (const ActionMessage&);
const ActionMessage& operator= (const ActionMessage&);
ActionMessage& operator= (const ActionMessage&);
}; };
//============================================================================== //==============================================================================


+ 1
- 1
src/events/juce_ActionListenerList.h View File

@@ -89,7 +89,7 @@ private:
CriticalSection actionListenerLock_; CriticalSection actionListenerLock_;
ActionListenerList (const ActionListenerList&); ActionListenerList (const ActionListenerList&);
const ActionListenerList& operator= (const ActionListenerList&);
ActionListenerList& operator= (const ActionListenerList&);
}; };


+ 1
- 1
src/events/juce_AsyncUpdater.h View File

@@ -105,7 +105,7 @@ private:
private: private:
AsyncUpdaterInternal (const AsyncUpdaterInternal&); AsyncUpdaterInternal (const AsyncUpdaterInternal&);
const AsyncUpdaterInternal& operator= (const AsyncUpdaterInternal&);
AsyncUpdaterInternal& operator= (const AsyncUpdaterInternal&);
}; };
AsyncUpdaterInternal internalAsyncHandler; AsyncUpdaterInternal internalAsyncHandler;


+ 1
- 1
src/events/juce_CallbackMessage.h View File

@@ -75,7 +75,7 @@ public:
private: private:
CallbackMessage (const CallbackMessage&); CallbackMessage (const CallbackMessage&);
const CallbackMessage& operator= (const CallbackMessage&);
CallbackMessage& operator= (const CallbackMessage&);
}; };


+ 1
- 1
src/events/juce_ChangeBroadcaster.h View File

@@ -91,7 +91,7 @@ private:
ChangeListenerList changeListenerList; ChangeListenerList changeListenerList;
ChangeBroadcaster (const ChangeBroadcaster&); ChangeBroadcaster (const ChangeBroadcaster&);
const ChangeBroadcaster& operator= (const ChangeBroadcaster&);
ChangeBroadcaster& operator= (const ChangeBroadcaster&);
}; };


+ 1
- 1
src/events/juce_ChangeListenerList.h View File

@@ -112,7 +112,7 @@ private:
bool messagePending; bool messagePending;
ChangeListenerList (const ChangeListenerList&); ChangeListenerList (const ChangeListenerList&);
const ChangeListenerList& operator= (const ChangeListenerList&);
ChangeListenerList& operator= (const ChangeListenerList&);
}; };


+ 1
- 1
src/events/juce_InterprocessConnection.h View File

@@ -210,7 +210,7 @@ private:
void run(); void run();
InterprocessConnection (const InterprocessConnection&); InterprocessConnection (const InterprocessConnection&);
const InterprocessConnection& operator= (const InterprocessConnection&);
InterprocessConnection& operator= (const InterprocessConnection&);
}; };
#endif // __JUCE_INTERPROCESSCONNECTION_JUCEHEADER__ #endif // __JUCE_INTERPROCESSCONNECTION_JUCEHEADER__

+ 1
- 1
src/events/juce_InterprocessConnectionServer.h View File

@@ -93,7 +93,7 @@ private:
void run(); void run();
InterprocessConnectionServer (const InterprocessConnectionServer&); InterprocessConnectionServer (const InterprocessConnectionServer&);
const InterprocessConnectionServer& operator= (const InterprocessConnectionServer&);
InterprocessConnectionServer& operator= (const InterprocessConnectionServer&);
}; };


+ 1
- 1
src/events/juce_Message.h View File

@@ -80,7 +80,7 @@ private:
MessageListener* messageRecipient; MessageListener* messageRecipient;
Message (const Message&); Message (const Message&);
const Message& operator= (const Message&);
Message& operator= (const Message&);
}; };


+ 1
- 1
src/events/juce_MessageManager.h View File

@@ -196,7 +196,7 @@ private:
CriticalSection lockingLock; CriticalSection lockingLock;
MessageManager (const MessageManager&); MessageManager (const MessageManager&);
const MessageManager& operator= (const MessageManager&);
MessageManager& operator= (const MessageManager&);
}; };


+ 1
- 1
src/events/juce_MultiTimer.h View File

@@ -126,7 +126,7 @@ private:
CriticalSection timerListLock; CriticalSection timerListLock;
OwnedArray <MultiTimerCallback> timers; OwnedArray <MultiTimerCallback> timers;
const MultiTimer& operator= (const MultiTimer&);
MultiTimer& operator= (const MultiTimer&);
}; };
#endif // __JUCE_MULTITIMER_JUCEHEADER__ #endif // __JUCE_MULTITIMER_JUCEHEADER__

+ 1
- 1
src/events/juce_Timer.h View File

@@ -124,7 +124,7 @@ private:
Timer* previous; Timer* previous;
Timer* next; Timer* next;
const Timer& operator= (const Timer&);
Timer& operator= (const Timer&);
}; };
#endif // __JUCE_TIMER_JUCEHEADER__ #endif // __JUCE_TIMER_JUCEHEADER__

+ 1
- 1
src/gui/components/buttons/juce_ArrowButton.h View File

@@ -75,7 +75,7 @@ private:
int offset; int offset;
ArrowButton (const ArrowButton&); ArrowButton (const ArrowButton&);
const ArrowButton& operator= (const ArrowButton&);
ArrowButton& operator= (const ArrowButton&);
}; };


+ 1
- 1
src/gui/components/buttons/juce_Button.h View File

@@ -503,7 +503,7 @@ private:
void sendStateMessage(); void sendStateMessage();
Button (const Button&); Button (const Button&);
const Button& operator= (const Button&);
Button& operator= (const Button&);
}; };


+ 1
- 1
src/gui/components/buttons/juce_DrawableButton.h View File

@@ -172,7 +172,7 @@ private:
void deleteImages(); void deleteImages();
DrawableButton (const DrawableButton&); DrawableButton (const DrawableButton&);
const DrawableButton& operator= (const DrawableButton&);
DrawableButton& operator= (const DrawableButton&);
}; };


+ 1
- 1
src/gui/components/buttons/juce_HyperlinkButton.h View File

@@ -114,7 +114,7 @@ private:
const Font getFontToUse() const; const Font getFontToUse() const;
HyperlinkButton (const HyperlinkButton&); HyperlinkButton (const HyperlinkButton&);
const HyperlinkButton& operator= (const HyperlinkButton&);
HyperlinkButton& operator= (const HyperlinkButton&);
}; };
#endif // __JUCE_HYPERLINKBUTTON_JUCEHEADER__ #endif // __JUCE_HYPERLINKBUTTON_JUCEHEADER__

+ 1
- 1
src/gui/components/buttons/juce_ImageButton.h View File

@@ -163,7 +163,7 @@ private:
void deleteImages(); void deleteImages();
ImageButton (const ImageButton&); ImageButton (const ImageButton&);
const ImageButton& operator= (const ImageButton&);
ImageButton& operator= (const ImageButton&);
}; };


+ 1
- 1
src/gui/components/buttons/juce_ShapeButton.h View File

@@ -106,7 +106,7 @@ private:
float outlineWidth; float outlineWidth;
ShapeButton (const ShapeButton&); ShapeButton (const ShapeButton&);
const ShapeButton& operator= (const ShapeButton&);
ShapeButton& operator= (const ShapeButton&);
}; };


+ 1
- 1
src/gui/components/buttons/juce_TextButton.h View File

@@ -101,7 +101,7 @@ protected:
private: private:
TextButton (const TextButton&); TextButton (const TextButton&);
const TextButton& operator= (const TextButton&);
TextButton& operator= (const TextButton&);
}; };


+ 1
- 1
src/gui/components/buttons/juce_ToggleButton.h View File

@@ -88,7 +88,7 @@ protected:
private: private:
//============================================================================== //==============================================================================
ToggleButton (const ToggleButton&); ToggleButton (const ToggleButton&);
const ToggleButton& operator= (const ToggleButton&);
ToggleButton& operator= (const ToggleButton&);
}; };


+ 1
- 1
src/gui/components/buttons/juce_ToolbarButton.h View File

@@ -84,7 +84,7 @@ private:
ScopedPointer <Drawable> normalImage, toggledOnImage; ScopedPointer <Drawable> normalImage, toggledOnImage;
ToolbarButton (const ToolbarButton&); ToolbarButton (const ToolbarButton&);
const ToolbarButton& operator= (const ToolbarButton&);
ToolbarButton& operator= (const ToolbarButton&);
}; };


+ 4
- 4
src/gui/components/code_editor/juce_CodeDocument.cpp View File

@@ -130,7 +130,7 @@ CodeDocument::Iterator::Iterator (const CodeDocument::Iterator& other)
{ {
} }
const CodeDocument::Iterator& CodeDocument::Iterator::operator= (const CodeDocument::Iterator& other) throw()
CodeDocument::Iterator& CodeDocument::Iterator::operator= (const CodeDocument::Iterator& other) throw()
{ {
document = other.document; document = other.document;
currentLine = other.currentLine; currentLine = other.currentLine;
@@ -241,7 +241,7 @@ CodeDocument::Position::~Position() throw()
setPositionMaintained (false); setPositionMaintained (false);
} }
const CodeDocument::Position& CodeDocument::Position::operator= (const Position& other) throw()
CodeDocument::Position& CodeDocument::Position::operator= (const Position& other) throw()
{ {
if (this != &other) if (this != &other)
{ {
@@ -733,7 +733,7 @@ class CodeDocumentInsertAction : public UndoableAction
int insertPos; int insertPos;
CodeDocumentInsertAction (const CodeDocumentInsertAction&); CodeDocumentInsertAction (const CodeDocumentInsertAction&);
const CodeDocumentInsertAction& operator= (const CodeDocumentInsertAction&);
CodeDocumentInsertAction& operator= (const CodeDocumentInsertAction&);
public: public:
CodeDocumentInsertAction (CodeDocument& owner_, const String& text_, const int insertPos_) throw() CodeDocumentInsertAction (CodeDocument& owner_, const String& text_, const int insertPos_) throw()
@@ -839,7 +839,7 @@ class CodeDocumentDeleteAction : public UndoableAction
String removedText; String removedText;
CodeDocumentDeleteAction (const CodeDocumentDeleteAction&); CodeDocumentDeleteAction (const CodeDocumentDeleteAction&);
const CodeDocumentDeleteAction& operator= (const CodeDocumentDeleteAction&);
CodeDocumentDeleteAction& operator= (const CodeDocumentDeleteAction&);
public: public:
CodeDocumentDeleteAction (CodeDocument& owner_, const int startPos_, const int endPos_) throw() CodeDocumentDeleteAction (CodeDocument& owner_, const int startPos_, const int endPos_) throw()


+ 3
- 3
src/gui/components/code_editor/juce_CodeDocument.h View File

@@ -105,7 +105,7 @@ public:
/** Destructor. */ /** Destructor. */
~Position() throw(); ~Position() throw();
const Position& operator= (const Position& other) throw();
Position& operator= (const Position& other) throw();
bool operator== (const Position& other) const throw(); bool operator== (const Position& other) const throw();
bool operator!= (const Position& other) const throw(); bool operator!= (const Position& other) const throw();
@@ -341,7 +341,7 @@ public:
public: public:
Iterator (CodeDocument* const document); Iterator (CodeDocument* const document);
Iterator (const Iterator& other); Iterator (const Iterator& other);
const Iterator& operator= (const Iterator& other) throw();
Iterator& operator= (const Iterator& other) throw();
~Iterator() throw(); ~Iterator() throw();
/** Reads the next character and returns it. /** Reads the next character and returns it.
@@ -402,7 +402,7 @@ private:
void checkLastLineStatus(); void checkLastLineStatus();
CodeDocument (const CodeDocument&); CodeDocument (const CodeDocument&);
const CodeDocument& operator= (const CodeDocument&);
CodeDocument& operator= (const CodeDocument&);
}; };


+ 1
- 1
src/gui/components/code_editor/juce_CodeEditorComponent.h View File

@@ -297,7 +297,7 @@ private:
int columnToIndex (int line, int column) const throw(); int columnToIndex (int line, int column) const throw();
CodeEditorComponent (const CodeEditorComponent&); CodeEditorComponent (const CodeEditorComponent&);
const CodeEditorComponent& operator= (const CodeEditorComponent&);
CodeEditorComponent& operator= (const CodeEditorComponent&);
}; };


+ 1
- 1
src/gui/components/controls/juce_ComboBox.h View File

@@ -402,7 +402,7 @@ private:
ItemInfo* getItemForIndex (const int index) const throw(); ItemInfo* getItemForIndex (const int index) const throw();
ComboBox (const ComboBox&); ComboBox (const ComboBox&);
const ComboBox& operator= (const ComboBox&);
ComboBox& operator= (const ComboBox&);
}; };
#endif // __JUCE_COMBOBOX_JUCEHEADER__ #endif // __JUCE_COMBOBOX_JUCEHEADER__

+ 1
- 1
src/gui/components/controls/juce_Label.h View File

@@ -342,7 +342,7 @@ private:
void callChangeListeners(); void callChangeListeners();
Label (const Label&); Label (const Label&);
const Label& operator= (const Label&);
Label& operator= (const Label&);
}; };


+ 2
- 2
src/gui/components/controls/juce_ListBox.cpp View File

@@ -167,7 +167,7 @@ private:
bool selected, isDragging, selectRowOnMouseUp; bool selected, isDragging, selectRowOnMouseUp;
ListBoxRowComponent (const ListBoxRowComponent&); ListBoxRowComponent (const ListBoxRowComponent&);
const ListBoxRowComponent& operator= (const ListBoxRowComponent&);
ListBoxRowComponent& operator= (const ListBoxRowComponent&);
}; };
@@ -325,7 +325,7 @@ private:
ListBox& owner; ListBox& owner;
ListViewport (const ListViewport&); ListViewport (const ListViewport&);
const ListViewport& operator= (const ListViewport&);
ListViewport& operator= (const ListViewport&);
}; };


+ 1
- 1
src/gui/components/controls/juce_ListBox.h View File

@@ -582,7 +582,7 @@ private:
bool isMouseClick); bool isMouseClick);
ListBox (const ListBox&); ListBox (const ListBox&);
const ListBox& operator= (const ListBox&);
ListBox& operator= (const ListBox&);
}; };


+ 1
- 1
src/gui/components/controls/juce_ProgressBar.h View File

@@ -118,7 +118,7 @@ private:
void timerCallback(); void timerCallback();
ProgressBar (const ProgressBar&); ProgressBar (const ProgressBar&);
const ProgressBar& operator= (const ProgressBar&);
ProgressBar& operator= (const ProgressBar&);
}; };


+ 1
- 1
src/gui/components/controls/juce_Slider.cpp View File

@@ -85,7 +85,7 @@ private:
String text; String text;
SliderPopupDisplayComponent (const SliderPopupDisplayComponent&); SliderPopupDisplayComponent (const SliderPopupDisplayComponent&);
const SliderPopupDisplayComponent& operator= (const SliderPopupDisplayComponent&);
SliderPopupDisplayComponent& operator= (const SliderPopupDisplayComponent&);
}; };
//============================================================================== //==============================================================================


+ 1
- 1
src/gui/components/controls/juce_Slider.h View File

@@ -792,7 +792,7 @@ private:
bool incDecDragDirectionIsHorizontal() const; bool incDecDragDirectionIsHorizontal() const;
Slider (const Slider&); Slider (const Slider&);
const Slider& operator= (const Slider&);
Slider& operator= (const Slider&);
}; };


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save