diff --git a/juce_amalgamated.cpp b/juce_amalgamated.cpp index 0366ec5b24..ddc3d089dd 100644 --- a/juce_amalgamated.cpp +++ b/juce_amalgamated.cpp @@ -1281,7 +1281,7 @@ const String RelativeTime::getDescription (const String& returnValueForZeroTime) return result.trimEnd(); } -const RelativeTime& RelativeTime::operator= (const RelativeTime& other) throw() +RelativeTime& RelativeTime::operator= (const RelativeTime& other) throw() { seconds = other.seconds; return *this; @@ -1675,7 +1675,7 @@ Time::~Time() throw() { } -const Time& Time::operator= (const Time& other) throw() +Time& Time::operator= (const Time& other) throw() { millisSinceEpoch = other.millisSinceEpoch; return *this; @@ -3300,7 +3300,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; fallbackProperties = other.fallbackProperties; @@ -4354,7 +4354,7 @@ BlowFish::BlowFish (const BlowFish& other) operator= (other); } -const BlowFish& BlowFish::operator= (const BlowFish& other) +BlowFish& BlowFish::operator= (const BlowFish& other) { memcpy (p, other.p, sizeof (p)); @@ -4459,7 +4459,7 @@ MD5::MD5 (const MD5& other) 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)); return *this; @@ -5525,7 +5525,7 @@ void OutputStream::writeString (const String& text) // (This avoids using toUTF8() to prevent the memory bloat that it would leave behind // if lots of large, persistent strings were to be written to streams). const int numBytes = text.getNumBytesAsUTF8() + 1; - HeapBlock temp (numBytes); + HeapBlock temp (numBytes); text.copyToUTF8 (temp, numBytes); write (temp, numBytes); } @@ -5948,13 +5948,13 @@ File::File (const File& other) { } -const File& File::operator= (const String& newPath) +File& File::operator= (const String& newPath) { fullPath = parseAbsolutePath (newPath); return *this; } -const File& File::operator= (const File& other) +File& File::operator= (const File& other) { fullPath = other.fullPath; return *this; @@ -7050,7 +7050,7 @@ FileSearchPath::~FileSearchPath() { } -const FileSearchPath& FileSearchPath::operator= (const String& path) +FileSearchPath& FileSearchPath::operator= (const String& path) { init (path); return *this; @@ -7944,7 +7944,7 @@ URL::URL (const URL& other) { } -const URL& URL::operator= (const URL& other) +URL& URL::operator= (const URL& other) { url = other.url; postData = other.postData; @@ -8300,7 +8300,7 @@ private: } WebInputStream (const WebInputStream&); - const WebInputStream& operator= (const WebInputStream&); + WebInputStream& operator= (const WebInputStream&); }; InputStream* URL::createInputStream (const bool usePostCommand, @@ -9199,7 +9199,7 @@ private: InputStream* inputStream; ZipInputStream (const ZipInputStream&); - const ZipInputStream& operator= (const ZipInputStream&); + ZipInputStream& operator= (const ZipInputStream&); }; ZipFile::ZipFile (InputStream* const source_, @@ -10822,7 +10822,7 @@ int64 String::hashCode64() const throw() return result; } -const String& String::operator= (const String& other) throw() +String& String::operator= (const String& other) throw() { if (this != &other) { @@ -11107,8 +11107,8 @@ OutputStream& JUCE_PUBLIC_FUNCTION operator<< (OutputStream& stream, const Stri // (This avoids using toUTF8() to prevent the memory bloat that it would leave behind // if lots of large, persistent strings were to be written to streams). const int numBytes = text.getNumBytesAsUTF8(); - HeapBlock temp (numBytes); - text.copyToUTF8 (temp, numBytes); + HeapBlock temp (numBytes + 1); + text.copyToUTF8 (temp, numBytes + 1); stream.write (temp, numBytes); return stream; } @@ -12561,7 +12561,7 @@ StringArray::StringArray (const char** const initialStrings) add (initialStrings [i++]); } -const StringArray& StringArray::operator= (const StringArray& other) +StringArray& StringArray::operator= (const StringArray& other) { strings = other.strings; return *this; @@ -13028,11 +13028,10 @@ StringPairArray::~StringPairArray() throw() { } -const StringPairArray& StringPairArray::operator= (const StringPairArray& other) throw() +StringPairArray& StringPairArray::operator= (const StringPairArray& other) throw() { keys = other.keys; values = other.values; - return *this; } @@ -14050,7 +14049,7 @@ XmlElement::XmlElement (const XmlElement& other) throw() copyChildrenAndAttributesFrom (other); } -const XmlElement& XmlElement::operator= (const XmlElement& other) throw() +XmlElement& XmlElement::operator= (const XmlElement& other) throw() { if (this != &other) { @@ -16050,7 +16049,7 @@ private: const bool isAddingNewProperty, isDeletingProperty; ValueTreeSetPropertyAction (const ValueTreeSetPropertyAction&); - const ValueTreeSetPropertyAction& operator= (const ValueTreeSetPropertyAction&); + ValueTreeSetPropertyAction& operator= (const ValueTreeSetPropertyAction&); }; class ValueTreeChildChangeAction : public UndoableAction @@ -16099,7 +16098,7 @@ private: const bool isDeleting; ValueTreeChildChangeAction (const ValueTreeChildChangeAction&); - const ValueTreeChildChangeAction& operator= (const ValueTreeChildChangeAction&); + ValueTreeChildChangeAction& operator= (const ValueTreeChildChangeAction&); }; ValueTree::SharedObject::SharedObject (const String& type_) @@ -16399,7 +16398,7 @@ ValueTree::ValueTree (const ValueTree& other) { } -const ValueTree& ValueTree::operator= (const ValueTree& other) +ValueTree& ValueTree::operator= (const ValueTree& other) { if (listeners.size() > 0) { @@ -16540,7 +16539,7 @@ private: const var::identifier property; UndoManager* const undoManager; - const ValueTreePropertyValueSource& operator= (const ValueTreePropertyValueSource&); + ValueTreePropertyValueSource& operator= (const ValueTreePropertyValueSource&); }; Value ValueTree::getPropertyAsValue (const var::identifier& name, UndoManager* const undoManager) const @@ -16788,7 +16787,7 @@ private: var value; SimpleValueSource (const SimpleValueSource&); - const SimpleValueSource& operator= (const SimpleValueSource&); + SimpleValueSource& operator= (const SimpleValueSource&); }; Value::Value() @@ -16812,7 +16811,7 @@ Value::Value (const Value& other) { } -const Value& Value::operator= (const Value& other) +Value& Value::operator= (const Value& other) { value = other.value; return *this; @@ -16839,7 +16838,7 @@ const String Value::toString() const return value->getValue().toString(); } -const Value& Value::operator= (const var& newValue) +Value& Value::operator= (const var& newValue) { value->setValue (newValue); return *this; @@ -19297,7 +19296,7 @@ public: private: 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); } }; @@ -19312,7 +19311,7 @@ class AiffAudioFormatWriter : public AudioFormatWriter static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); } AiffAudioFormatWriter (const AiffAudioFormatWriter&); - const AiffAudioFormatWriter& operator= (const AiffAudioFormatWriter&); + AiffAudioFormatWriter& operator= (const AiffAudioFormatWriter&); void writeHeader() { @@ -21776,7 +21775,7 @@ class WavAudioFormatReader : public AudioFormatReader static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); } WavAudioFormatReader (const WavAudioFormatReader&); - const WavAudioFormatReader& operator= (const WavAudioFormatReader&); + WavAudioFormatReader& operator= (const WavAudioFormatReader&); public: int64 bwavChunkStart, bwavSize; @@ -22128,7 +22127,7 @@ class WavAudioFormatWriter : public AudioFormatWriter static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); } WavAudioFormatWriter (const WavAudioFormatWriter&); - const WavAudioFormatWriter& operator= (const WavAudioFormatWriter&); + WavAudioFormatWriter& operator= (const WavAudioFormatWriter&); void writeHeader() { @@ -23082,7 +23081,7 @@ private: } SharedBufferingAudioSourceThread (const SharedBufferingAudioSourceThread&); - const SharedBufferingAudioSourceThread& operator= (const SharedBufferingAudioSourceThread&); + SharedBufferingAudioSourceThread& operator= (const SharedBufferingAudioSourceThread&); }; juce_ImplementSingleton (SharedBufferingAudioSourceThread) @@ -25724,7 +25723,7 @@ void AudioSampleBuffer::allocateChannels (float** const dataToReferTo) channels [numChannels] = 0; } -const AudioSampleBuffer& AudioSampleBuffer::operator= (const AudioSampleBuffer& other) throw() +AudioSampleBuffer& AudioSampleBuffer::operator= (const AudioSampleBuffer& other) throw() { if (this != &other) { @@ -26548,7 +26547,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; data = other.data; @@ -27597,7 +27596,7 @@ MidiMessage::MidiMessage (const uint8* src, } } -const MidiMessage& MidiMessage::operator= (const MidiMessage& other) throw() +MidiMessage& MidiMessage::operator= (const MidiMessage& other) throw() { if (this != &other) { @@ -29510,7 +29509,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; pluginFormatName = other.pluginFormatName; @@ -35118,7 +35117,7 @@ private: const int channelNum; ClearChannelOp (const ClearChannelOp&); - const ClearChannelOp& operator= (const ClearChannelOp&); + ClearChannelOp& operator= (const ClearChannelOp&); }; class CopyChannelOp : public AudioGraphRenderingOp @@ -35140,7 +35139,7 @@ private: const int srcChannelNum, dstChannelNum; CopyChannelOp (const CopyChannelOp&); - const CopyChannelOp& operator= (const CopyChannelOp&); + CopyChannelOp& operator= (const CopyChannelOp&); }; class AddChannelOp : public AudioGraphRenderingOp @@ -35162,7 +35161,7 @@ private: const int srcChannelNum, dstChannelNum; AddChannelOp (const AddChannelOp&); - const AddChannelOp& operator= (const AddChannelOp&); + AddChannelOp& operator= (const AddChannelOp&); }; class ClearMidiBufferOp : public AudioGraphRenderingOp @@ -35183,7 +35182,7 @@ private: const int bufferNum; ClearMidiBufferOp (const ClearMidiBufferOp&); - const ClearMidiBufferOp& operator= (const ClearMidiBufferOp&); + ClearMidiBufferOp& operator= (const ClearMidiBufferOp&); }; class CopyMidiBufferOp : public AudioGraphRenderingOp @@ -35205,7 +35204,7 @@ private: const int srcBufferNum, dstBufferNum; CopyMidiBufferOp (const CopyMidiBufferOp&); - const CopyMidiBufferOp& operator= (const CopyMidiBufferOp&); + CopyMidiBufferOp& operator= (const CopyMidiBufferOp&); }; class AddMidiBufferOp : public AudioGraphRenderingOp @@ -35228,7 +35227,7 @@ private: const int srcBufferNum, dstBufferNum; AddMidiBufferOp (const AddMidiBufferOp&); - const AddMidiBufferOp& operator= (const AddMidiBufferOp&); + AddMidiBufferOp& operator= (const AddMidiBufferOp&); }; class ProcessBufferOp : public AudioGraphRenderingOp @@ -35274,7 +35273,7 @@ private: int midiBufferToUse; ProcessBufferOp (const ProcessBufferOp&); - const ProcessBufferOp& operator= (const ProcessBufferOp&); + ProcessBufferOp& operator= (const ProcessBufferOp&); }; class RenderingOpSequenceCalculator @@ -35686,7 +35685,7 @@ private: } RenderingOpSequenceCalculator (const RenderingOpSequenceCalculator&); - const RenderingOpSequenceCalculator& operator= (const RenderingOpSequenceCalculator&); + RenderingOpSequenceCalculator& operator= (const RenderingOpSequenceCalculator&); }; } @@ -36320,11 +36319,11 @@ private: const int index; ParamSlider (const ParamSlider&); - const ParamSlider& operator= (const ParamSlider&); + ParamSlider& operator= (const ParamSlider&); }; ProcessorParameterPropertyComp (const ProcessorParameterPropertyComp&); - const ProcessorParameterPropertyComp& operator= (const ProcessorParameterPropertyComp&); + ProcessorParameterPropertyComp& operator= (const ProcessorParameterPropertyComp&); }; GenericAudioProcessorEditor::GenericAudioProcessorEditor (AudioProcessor* const owner_) @@ -36985,7 +36984,7 @@ public: private: ActionMessage (const ActionMessage&); - const ActionMessage& operator= (const ActionMessage&); + ActionMessage& operator= (const ActionMessage&); }; ActionListenerList::ActionListenerList() throw() @@ -38776,7 +38775,7 @@ private: float scale, scaleChangePerMs; FadeOutProxyComponent (const FadeOutProxyComponent&); - const FadeOutProxyComponent& operator= (const FadeOutProxyComponent&); + FadeOutProxyComponent& operator= (const FadeOutProxyComponent&); }; void Component::fadeOutComponent (const int millisecondsToFade, @@ -43898,7 +43897,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; currentLine = other.currentLine; @@ -44008,7 +44007,7 @@ CodeDocument::Position::~Position() throw() setPositionMaintained (false); } -const CodeDocument::Position& CodeDocument::Position::operator= (const Position& other) throw() +CodeDocument::Position& CodeDocument::Position::operator= (const Position& other) throw() { if (this != &other) { @@ -44496,7 +44495,7 @@ class CodeDocumentInsertAction : public UndoableAction int insertPos; CodeDocumentInsertAction (const CodeDocumentInsertAction&); - const CodeDocumentInsertAction& operator= (const CodeDocumentInsertAction&); + CodeDocumentInsertAction& operator= (const CodeDocumentInsertAction&); public: CodeDocumentInsertAction (CodeDocument& owner_, const String& text_, const int insertPos_) throw() @@ -44601,7 +44600,7 @@ class CodeDocumentDeleteAction : public UndoableAction String removedText; CodeDocumentDeleteAction (const CodeDocumentDeleteAction&); - const CodeDocumentDeleteAction& operator= (const CodeDocumentDeleteAction&); + CodeDocumentDeleteAction& operator= (const CodeDocumentDeleteAction&); public: CodeDocumentDeleteAction (CodeDocument& owner_, const int startPos_, const int endPos_) throw() @@ -47618,7 +47617,7 @@ private: bool selected, isDragging, selectRowOnMouseUp; ListBoxRowComponent (const ListBoxRowComponent&); - const ListBoxRowComponent& operator= (const ListBoxRowComponent&); + ListBoxRowComponent& operator= (const ListBoxRowComponent&); }; class ListViewport : public Viewport @@ -47772,7 +47771,7 @@ private: ListBox& owner; ListViewport (const ListViewport&); - const ListViewport& operator= (const ListViewport&); + ListViewport& operator= (const ListViewport&); }; ListBox::ListBox (const String& name, ListBoxModel* const model_) @@ -48583,7 +48582,7 @@ private: String text; SliderPopupDisplayComponent (const SliderPopupDisplayComponent&); - const SliderPopupDisplayComponent& operator= (const SliderPopupDisplayComponent&); + SliderPopupDisplayComponent& operator= (const SliderPopupDisplayComponent&); }; Slider::Slider (const String& name) @@ -49948,7 +49947,7 @@ private: ScopedPointer image; DragOverlayComp (const DragOverlayComp&); - const DragOverlayComp& operator= (const DragOverlayComp&); + DragOverlayComp& operator= (const DragOverlayComp&); }; TableHeaderComponent::TableHeaderComponent() @@ -51049,7 +51048,7 @@ private: } TableListRowComp (const TableListRowComp&); - const TableListRowComp& operator= (const TableListRowComp&); + TableListRowComp& operator= (const TableListRowComp&); }; class TableListBoxHeader : public TableHeaderComponent @@ -51098,7 +51097,7 @@ private: TableListBox& owner; TableListBoxHeader (const TableListBoxHeader&); - const TableListBoxHeader& operator= (const TableListBoxHeader&); + TableListBoxHeader& operator= (const TableListBoxHeader&); }; TableListBox::TableListBox (const String& name, TableListBoxModel* const model_) @@ -51645,7 +51644,7 @@ private: } } - const UniformTextSection& operator= (const UniformTextSection& other); + UniformTextSection& operator= (const UniformTextSection& other); }; class TextEditorIterator @@ -52043,7 +52042,7 @@ private: const tchar passwordCharacter; TextAtom tempAtom; - const TextEditorIterator& operator= (const TextEditorIterator&); + TextEditorIterator& operator= (const TextEditorIterator&); void moveToEndOfLastAtom() { @@ -52074,7 +52073,7 @@ class TextEditorInsertAction : public UndoableAction const Colour colour; TextEditorInsertAction (const TextEditorInsertAction&); - const TextEditorInsertAction& operator= (const TextEditorInsertAction&); + TextEditorInsertAction& operator= (const TextEditorInsertAction&); public: TextEditorInsertAction (TextEditor& owner_, @@ -52124,7 +52123,7 @@ class TextEditorRemoveAction : public UndoableAction VoidArray removedSections; TextEditorRemoveAction (const TextEditorRemoveAction&); - const TextEditorRemoveAction& operator= (const TextEditorRemoveAction&); + TextEditorRemoveAction& operator= (const TextEditorRemoveAction&); public: TextEditorRemoveAction (TextEditor& owner_, @@ -52184,7 +52183,7 @@ class TextHolderComponent : public Component, TextEditor& owner; TextHolderComponent (const TextHolderComponent&); - const TextHolderComponent& operator= (const TextHolderComponent&); + TextHolderComponent& operator= (const TextHolderComponent&); public: TextHolderComponent (TextEditor& owner_) @@ -52228,7 +52227,7 @@ class TextEditorViewport : public Viewport float lastWordWrapWidth; TextEditorViewport (const TextEditorViewport&); - const TextEditorViewport& operator= (const TextEditorViewport&); + TextEditorViewport& operator= (const TextEditorViewport&); public: TextEditorViewport (TextEditor* const owner_) @@ -54029,7 +54028,7 @@ private: const bool drawBar; ToolbarSpacerComp (const ToolbarSpacerComp&); - const ToolbarSpacerComp& operator= (const ToolbarSpacerComp&); + ToolbarSpacerComp& operator= (const ToolbarSpacerComp&); }; class MissingItemsComponent : public PopupMenuCustomComponent @@ -54123,7 +54122,7 @@ private: Array oldIndexes; MissingItemsComponent (const MissingItemsComponent&); - const MissingItemsComponent& operator= (const MissingItemsComponent&); + MissingItemsComponent& operator= (const MissingItemsComponent&); }; Toolbar::Toolbar() @@ -54866,7 +54865,7 @@ private: bool isDragging; ItemDragAndDropOverlayComponent (const ItemDragAndDropOverlayComponent&); - const ItemDragAndDropOverlayComponent& operator= (const ItemDragAndDropOverlayComponent&); + ItemDragAndDropOverlayComponent& operator= (const ItemDragAndDropOverlayComponent&); }; ToolbarItemComponent::ToolbarItemComponent (const int itemId_, @@ -55385,7 +55384,7 @@ private: bool isDragging, needSelectionOnMouseUp; TreeViewContentComponent (const TreeViewContentComponent&); - const TreeViewContentComponent& operator= (const TreeViewContentComponent&); + TreeViewContentComponent& operator= (const TreeViewContentComponent&); void selectBasedOnModifiers (TreeViewItem* const item, const ModifierKeys& modifiers) { @@ -55451,7 +55450,7 @@ public: private: TreeViewport (const TreeViewport&); - const TreeViewport& operator= (const TreeViewport&); + TreeViewport& operator= (const TreeViewport&); }; TreeView::TreeView (const String& componentName) @@ -59343,7 +59342,7 @@ private: const int keyNum; KeyMappingChangeButton (const KeyMappingChangeButton&); - const KeyMappingChangeButton& operator= (const KeyMappingChangeButton&); + KeyMappingChangeButton& operator= (const KeyMappingChangeButton&); }; class KeyMappingItemComponent : public Component @@ -59413,7 +59412,7 @@ private: const CommandID commandID; KeyMappingItemComponent (const KeyMappingItemComponent&); - const KeyMappingItemComponent& operator= (const KeyMappingItemComponent&); + KeyMappingItemComponent& operator= (const KeyMappingItemComponent&); }; class KeyMappingTreeViewItem : public TreeViewItem @@ -59446,7 +59445,7 @@ private: const CommandID commandID; KeyMappingTreeViewItem (const KeyMappingTreeViewItem&); - const KeyMappingTreeViewItem& operator= (const KeyMappingTreeViewItem&); + KeyMappingTreeViewItem& operator= (const KeyMappingTreeViewItem&); }; class KeyCategoryTreeViewItem : public TreeViewItem @@ -59505,7 +59504,7 @@ private: String categoryName; KeyCategoryTreeViewItem (const KeyCategoryTreeViewItem&); - const KeyCategoryTreeViewItem& operator= (const KeyCategoryTreeViewItem&); + KeyCategoryTreeViewItem& operator= (const KeyCategoryTreeViewItem&); }; KeyMappingEditorComponent::KeyMappingEditorComponent (KeyPressMappingSet* const mappingManager, @@ -59676,7 +59675,7 @@ private: KeyMappingEditorComponent* owner; KeyEntryWindow (const KeyEntryWindow&); - const KeyEntryWindow& operator= (const KeyEntryWindow&); + KeyEntryWindow& operator= (const KeyEntryWindow&); }; void KeyMappingEditorComponent::assignNewKey (const CommandID commandID, const int index) @@ -59770,7 +59769,7 @@ KeyPress::KeyPress (const KeyPress& other) throw() { } -const KeyPress& KeyPress::operator= (const KeyPress& other) throw() +KeyPress& KeyPress::operator= (const KeyPress& other) throw() { keyCode = other.keyCode; mods = other.mods; @@ -60396,7 +60395,7 @@ ModifierKeys::ModifierKeys (const ModifierKeys& other) throw() { } -const ModifierKeys& ModifierKeys::operator= (const ModifierKeys& other) throw() +ModifierKeys& ModifierKeys::operator= (const ModifierKeys& other) throw() { flags = other.flags; return *this; @@ -61968,7 +61967,7 @@ private: ScrollBar& owner; ScrollbarButton (const ScrollbarButton&); - const ScrollbarButton& operator= (const ScrollbarButton&); + ScrollbarButton& operator= (const ScrollbarButton&); }; ScrollBar::ScrollBar (const bool vertical_, @@ -62976,7 +62975,7 @@ private: TabbedButtonBar* const owner; TabAreaBehindFrontButtonComponent (const TabAreaBehindFrontButtonComponent&); - const TabAreaBehindFrontButtonComponent& operator= (const TabAreaBehindFrontButtonComponent&); + TabAreaBehindFrontButtonComponent& operator= (const TabAreaBehindFrontButtonComponent&); }; TabbedButtonBar::TabbedButtonBar (const Orientation orientation_) @@ -63388,7 +63387,7 @@ private: TabbedComponent* const owner; TabCompButtonBar (const TabCompButtonBar&); - const TabCompButtonBar& operator= (const TabCompButtonBar&); + TabCompButtonBar& operator= (const TabCompButtonBar&); }; TabbedComponent::TabbedComponent (const TabbedButtonBar::Orientation orientation) @@ -65787,7 +65786,7 @@ private: Path normalShape, toggledShape; GlassWindowButton (const GlassWindowButton&); - const GlassWindowButton& operator= (const GlassWindowButton&); + GlassWindowButton& operator= (const GlassWindowButton&); }; Button* LookAndFeel::createDocumentWindowButton (int buttonType) @@ -67543,7 +67542,7 @@ BEGIN_JUCE_NAMESPACE class DummyMenuComponent : public Component { DummyMenuComponent (const DummyMenuComponent&); - const DummyMenuComponent& operator= (const DummyMenuComponent&); + DummyMenuComponent& operator= (const DummyMenuComponent&); public: DummyMenuComponent() {} @@ -69259,7 +69258,7 @@ PopupMenu::PopupMenu (const PopupMenu& other) items.add (new Item (*other.items.getUnchecked(i))); } -const PopupMenu& PopupMenu::operator= (const PopupMenu& other) +PopupMenu& PopupMenu::operator= (const PopupMenu& other) { if (this != &other) { @@ -69404,7 +69403,7 @@ private: const int width, height; NormalComponentWrapper (const NormalComponentWrapper&); - const NormalComponentWrapper& operator= (const NormalComponentWrapper&); + NormalComponentWrapper& operator= (const NormalComponentWrapper&); }; void PopupMenu::addCustomItem (const int itemResultId, @@ -70337,7 +70336,7 @@ private: const MouseCursor::StandardCursorType standardType; const bool isStandard; - const SharedMouseCursorInternal& operator= (const SharedMouseCursorInternal&); + SharedMouseCursorInternal& operator= (const SharedMouseCursorInternal&); }; MouseCursor::MouseCursor() throw() @@ -70367,7 +70366,7 @@ MouseCursor::~MouseCursor() throw() { } -const MouseCursor& MouseCursor::operator= (const MouseCursor& other) throw() +MouseCursor& MouseCursor::operator= (const MouseCursor& other) throw() { cursorHandle = other.cursorHandle; return *this; @@ -71675,7 +71674,7 @@ private: } MidiInputSelectorComponentListBox (const MidiInputSelectorComponentListBox&); - const MidiInputSelectorComponentListBox& operator= (const MidiInputSelectorComponentListBox&); + MidiInputSelectorComponentListBox& operator= (const MidiInputSelectorComponentListBox&); }; class AudioDeviceSettingsPanel : public Component, @@ -72401,7 +72400,7 @@ public: } ChannelSelectorListBox (const ChannelSelectorListBox&); - const ChannelSelectorListBox& operator= (const ChannelSelectorListBox&); + ChannelSelectorListBox& operator= (const ChannelSelectorListBox&); }; private: @@ -72409,7 +72408,7 @@ private: ChannelSelectorListBox* outputChanList; AudioDeviceSettingsPanel (const AudioDeviceSettingsPanel&); - const AudioDeviceSettingsPanel& operator= (const AudioDeviceSettingsPanel&); + AudioDeviceSettingsPanel& operator= (const AudioDeviceSettingsPanel&); }; AudioDeviceSelectorComponent::AudioDeviceSelectorComponent (AudioDeviceManager& deviceManager_, @@ -72953,7 +72952,7 @@ public: private: ColourComponentSlider (const ColourComponentSlider&); - const ColourComponentSlider& operator= (const ColourComponentSlider&); + ColourComponentSlider& operator= (const ColourComponentSlider&); }; class ColourSpaceMarker : public Component @@ -72978,7 +72977,7 @@ public: private: ColourSpaceMarker (const ColourSpaceMarker&); - const ColourSpaceMarker& operator= (const ColourSpaceMarker&); + ColourSpaceMarker& operator= (const ColourSpaceMarker&); }; class ColourSpaceView : public Component @@ -73081,7 +73080,7 @@ private: } ColourSpaceView (const ColourSpaceView&); - const ColourSpaceView& operator= (const ColourSpaceView&); + ColourSpaceView& operator= (const ColourSpaceView&); }; class HueSelectorMarker : public Component @@ -73116,7 +73115,7 @@ public: private: HueSelectorMarker (const HueSelectorMarker&); - const HueSelectorMarker& operator= (const HueSelectorMarker&); + HueSelectorMarker& operator= (const HueSelectorMarker&); }; class HueSelectorComp : public Component @@ -73184,7 +73183,7 @@ private: const int edge; HueSelectorComp (const HueSelectorComp&); - const HueSelectorComp& operator= (const HueSelectorComp&); + HueSelectorComp& operator= (const HueSelectorComp&); }; class ColourSelector::SwatchComponent : public Component @@ -73238,7 +73237,7 @@ private: const int index; SwatchComponent (const SwatchComponent&); - const SwatchComponent& operator= (const SwatchComponent&); + SwatchComponent& operator= (const SwatchComponent&); }; ColourSelector::ColourSelector (const int flags_, @@ -73602,7 +73601,7 @@ public: private: ShadowWindow (const ShadowWindow&); - const ShadowWindow& operator= (const ShadowWindow&); + ShadowWindow& operator= (const ShadowWindow&); }; DropShadower::DropShadower (const float alpha_, @@ -73951,7 +73950,7 @@ private: MagnifierComponent* const magnifierComp; MagnifyingPeer (const MagnifyingPeer&); - const MagnifyingPeer& operator= (const MagnifyingPeer&); + MagnifyingPeer& operator= (const MagnifyingPeer&); }; class PeerHolderComp : public Component @@ -73994,7 +73993,7 @@ private: MagnifierComponent* const magnifierComp; PeerHolderComp (const PeerHolderComp&); - const PeerHolderComp& operator= (const PeerHolderComp&); + PeerHolderComp& operator= (const PeerHolderComp&); }; MagnifierComponent::MagnifierComponent (Component* const content_, @@ -74195,7 +74194,7 @@ private: const int delta; MidiKeyboardUpDownButton (const MidiKeyboardUpDownButton&); - const MidiKeyboardUpDownButton& operator= (const MidiKeyboardUpDownButton&); + MidiKeyboardUpDownButton& operator= (const MidiKeyboardUpDownButton&); }; MidiKeyboardComponent::MidiKeyboardComponent (MidiKeyboardState& state_, @@ -75325,7 +75324,7 @@ public: private: PrefsDialogWindow (const PrefsDialogWindow&); - const PrefsDialogWindow& operator= (const PrefsDialogWindow&); + PrefsDialogWindow& operator= (const PrefsDialogWindow&); }; void PreferencesPanel::showInDialogBox (const String& dialogtitle, @@ -75471,7 +75470,7 @@ public: private: AlertWindowTextEditor (const AlertWindowTextEditor&); - const AlertWindowTextEditor& operator= (const AlertWindowTextEditor&); + AlertWindowTextEditor& operator= (const AlertWindowTextEditor&); }; #if JUCE_LINUX @@ -75646,11 +75645,6 @@ ComboBox* AlertWindow::getComboBoxComponent (const String& nameOfList) const class AlertTextComp : public TextEditor { - AlertTextComp (const AlertTextComp&); - const AlertTextComp& operator= (const AlertTextComp&); - - int bestWidth; - public: AlertTextComp (const String& message, const Font& font) @@ -75685,6 +75679,12 @@ public: text.layout (width - 8, Justification::topLeft, true); setSize (width, jmin (width, text.getHeight() + (int) getFont().getHeight())); } + +private: + int bestWidth; + + AlertTextComp (const AlertTextComp&); + AlertTextComp& operator= (const AlertTextComp&); }; void AlertWindow::addTextBlock (const String& text) @@ -76819,7 +76819,7 @@ public: private: TempDialogWindow (const TempDialogWindow&); - const TempDialogWindow& operator= (const TempDialogWindow&); + TempDialogWindow& operator= (const TempDialogWindow&); }; @@ -78137,7 +78137,7 @@ private: } TopLevelWindowManager (const TopLevelWindowManager&); - const TopLevelWindowManager& operator= (const TopLevelWindowManager&); + TopLevelWindowManager& operator= (const TopLevelWindowManager&); }; juce_ImplementSingleton_SingleThreaded (TopLevelWindowManager) @@ -78383,7 +78383,7 @@ Colour::Colour (const Colour& other) throw() { } -const Colour& Colour::operator= (const Colour& other) throw() +Colour& Colour::operator= (const Colour& other) throw() { argb = other.argb; return *this; @@ -79565,7 +79565,7 @@ EdgeTable::EdgeTable (const EdgeTable& other) throw() operator= (other); } -const EdgeTable& EdgeTable::operator= (const EdgeTable& other) throw() +EdgeTable& EdgeTable::operator= (const EdgeTable& other) throw() { bounds = other.bounds; maxEdgesPerLine = other.maxEdgesPerLine; @@ -80099,7 +80099,7 @@ FillType::FillType (const FillType& other) throw() { } -const FillType& FillType::operator= (const FillType& other) throw() +FillType& FillType::operator= (const FillType& other) throw() { if (this != &other) { @@ -80906,7 +80906,7 @@ Justification::Justification (const Justification& other) throw() { } -const Justification& Justification::operator= (const Justification& other) throw() +Justification& Justification::operator= (const Justification& other) throw() { flags = other.flags; return *this; @@ -81583,7 +81583,7 @@ private: } SolidColourEdgeTableRenderer (const SolidColourEdgeTableRenderer&); - const SolidColourEdgeTableRenderer& operator= (const SolidColourEdgeTableRenderer&); + SolidColourEdgeTableRenderer& operator= (const SolidColourEdgeTableRenderer&); }; class LinearGradientPixelGenerator @@ -81663,7 +81663,7 @@ private: enum { numScaleBits = 12 }; LinearGradientPixelGenerator (const LinearGradientPixelGenerator&); - const LinearGradientPixelGenerator& operator= (const LinearGradientPixelGenerator&); + LinearGradientPixelGenerator& operator= (const LinearGradientPixelGenerator&); }; class RadialGradientPixelGenerator @@ -81706,7 +81706,7 @@ protected: double maxDist, invScale, dy; RadialGradientPixelGenerator (const RadialGradientPixelGenerator&); - const RadialGradientPixelGenerator& operator= (const RadialGradientPixelGenerator&); + RadialGradientPixelGenerator& operator= (const RadialGradientPixelGenerator&); }; class TransformedRadialGradientPixelGenerator : public RadialGradientPixelGenerator @@ -81746,7 +81746,7 @@ private: const AffineTransform inverseTransform; TransformedRadialGradientPixelGenerator (const TransformedRadialGradientPixelGenerator&); - const TransformedRadialGradientPixelGenerator& operator= (const TransformedRadialGradientPixelGenerator&); + TransformedRadialGradientPixelGenerator& operator= (const TransformedRadialGradientPixelGenerator&); }; template @@ -81796,7 +81796,7 @@ private: PixelType* linePixels; GradientEdgeTableRenderer (const GradientEdgeTableRenderer&); - const GradientEdgeTableRenderer& operator= (const GradientEdgeTableRenderer&); + GradientEdgeTableRenderer& operator= (const GradientEdgeTableRenderer&); }; static forcedinline int safeModulo (int n, const int divisor) throw() @@ -81908,7 +81908,7 @@ private: } ImageFillEdgeTableRenderer (const ImageFillEdgeTableRenderer&); - const ImageFillEdgeTableRenderer& operator= (const ImageFillEdgeTableRenderer&); + ImageFillEdgeTableRenderer& operator= (const ImageFillEdgeTableRenderer&); }; template @@ -82287,7 +82287,7 @@ private: BresenhamInterpolator xBresenham, yBresenham; TransformedImageSpanInterpolator (const TransformedImageSpanInterpolator&); - const TransformedImageSpanInterpolator& operator= (const TransformedImageSpanInterpolator&); + TransformedImageSpanInterpolator& operator= (const TransformedImageSpanInterpolator&); }; TransformedImageSpanInterpolator interpolator; @@ -82303,7 +82303,7 @@ private: int scratchSize; TransformedImageFillEdgeTableRenderer (const TransformedImageFillEdgeTableRenderer&); - const TransformedImageFillEdgeTableRenderer& operator= (const TransformedImageFillEdgeTableRenderer&); + TransformedImageFillEdgeTableRenderer& operator= (const TransformedImageFillEdgeTableRenderer&); }; class LLGCSavedState @@ -82569,7 +82569,7 @@ public: Graphics::ResamplingQuality interpolationQuality; private: - const LLGCSavedState& operator= (const LLGCSavedState&); + LLGCSavedState& operator= (const LLGCSavedState&); void dupeEdgeTableIfMultiplyReferenced() throw() { @@ -82997,7 +82997,7 @@ public: ScopedPointer edgeTable; CachedGlyph (const CachedGlyph&); - const CachedGlyph& operator= (const CachedGlyph&); + CachedGlyph& operator= (const CachedGlyph&); }; juce_UseDebuggingNewOperator @@ -83007,7 +83007,7 @@ private: int accessCounter, hits, misses; GlyphCache (const GlyphCache&); - const GlyphCache& operator= (const GlyphCache&); + GlyphCache& operator= (const GlyphCache&); }; juce_ImplementSingleton_SingleThreaded (GlyphCache); @@ -83056,7 +83056,7 @@ RectanglePlacement::RectanglePlacement (const RectanglePlacement& other) throw() { } -const RectanglePlacement& RectanglePlacement::operator= (const RectanglePlacement& other) throw() +RectanglePlacement& RectanglePlacement::operator= (const RectanglePlacement& other) throw() { flags = other.flags; return *this; @@ -85217,7 +85217,7 @@ private: return 0; } - const SVGState& operator= (const SVGState&); + SVGState& operator= (const SVGState&); }; Drawable* Drawable::createFromSVG (const XmlElement& svgDocument) @@ -85447,7 +85447,7 @@ Font::Font (const Font& other) throw() { } -const Font& Font::operator= (const Font& other) throw() +Font& Font::operator= (const Font& other) throw() { font = other.font; return *this; @@ -85761,7 +85761,7 @@ private: OwnedArray faces; TypefaceCache (const TypefaceCache&); - const TypefaceCache& operator= (const TypefaceCache&); + TypefaceCache& operator= (const TypefaceCache&); }; juce_ImplementSingleton_SingleThreaded (TypefaceCache) @@ -85863,7 +85863,7 @@ GlyphArrangement::GlyphArrangement (const GlyphArrangement& other) addGlyphArrangement (other); } -const GlyphArrangement& GlyphArrangement::operator= (const GlyphArrangement& other) +GlyphArrangement& GlyphArrangement::operator= (const GlyphArrangement& other) { if (this != &other) { @@ -86650,7 +86650,7 @@ TextLayout::TextLayout (const TextLayout& other) throw() *this = other; } -const TextLayout& TextLayout::operator= (const TextLayout& other) throw() +TextLayout& TextLayout::operator= (const TextLayout& other) throw() { if (this != &other) { @@ -86977,7 +86977,7 @@ public: private: GlyphInfo (const GlyphInfo&); - const GlyphInfo& operator= (const GlyphInfo&); + GlyphInfo& operator= (const GlyphInfo&); }; CustomTypeface::CustomTypeface() @@ -87294,7 +87294,7 @@ AffineTransform::AffineTransform (const float mat00_, { } -const AffineTransform& AffineTransform::operator= (const AffineTransform& other) throw() +AffineTransform& AffineTransform::operator= (const AffineTransform& other) throw() { mat00 = other.mat00; mat01 = other.mat01; @@ -87710,7 +87710,7 @@ Line::Line (const Point& start, { } -const Line& Line::operator= (const Line& other) throw() +Line& Line::operator= (const Line& other) throw() { startX = other.startX; startY = other.startY; @@ -88005,7 +88005,7 @@ Path::Path (const Path& other) throw() } } -const Path& Path::operator= (const Path& other) throw() +Path& Path::operator= (const Path& other) throw() { if (this != &other) { @@ -89775,7 +89775,7 @@ PathStrokeType::PathStrokeType (const PathStrokeType& other) throw() { } -const PathStrokeType& PathStrokeType::operator= (const PathStrokeType& other) throw() +PathStrokeType& PathStrokeType::operator= (const PathStrokeType& other) throw() { thickness = other.thickness; jointStyle = other.jointStyle; @@ -90397,7 +90397,7 @@ PositionedRectangle::PositionedRectangle (const PositionedRectangle& other) thro { } -const PositionedRectangle& PositionedRectangle::operator= (const PositionedRectangle& other) throw() +PositionedRectangle& PositionedRectangle::operator= (const PositionedRectangle& other) throw() { x = other.x; y = other.y; @@ -90415,7 +90415,7 @@ PositionedRectangle::~PositionedRectangle() throw() { } -const bool PositionedRectangle::operator== (const PositionedRectangle& other) const throw() +bool PositionedRectangle::operator== (const PositionedRectangle& other) const throw() { return x == other.x && y == other.y @@ -90427,7 +90427,7 @@ const bool PositionedRectangle::operator== (const PositionedRectangle& other) co && hMode == other.hMode; } -const bool PositionedRectangle::operator!= (const PositionedRectangle& other) const throw() +bool PositionedRectangle::operator!= (const PositionedRectangle& other) const throw() { return ! operator== (other); } @@ -90746,7 +90746,7 @@ RectangleList::RectangleList (const RectangleList& other) throw() { } -const RectangleList& RectangleList::operator= (const RectangleList& other) throw() +RectangleList& RectangleList::operator= (const RectangleList& other) throw() { rects = other.rects; return *this; @@ -92152,7 +92152,7 @@ private: static inline int makeWord (const uint8 a, const uint8 b) { return (b << 8) | a; } GIFLoader (const GIFLoader&); - const GIFLoader& operator= (const GIFLoader&); + GIFLoader& operator= (const GIFLoader&); }; #endif // DOXYGEN @@ -242171,7 +242171,7 @@ private: ScopedPointer viewHolder; WindowedGLContext (const WindowedGLContext&); - const WindowedGLContext& operator= (const WindowedGLContext&); + WindowedGLContext& operator= (const WindowedGLContext&); }; OpenGLContext* OpenGLContext::createContextForWindow (Component* const component, @@ -243180,7 +243180,7 @@ private: } IPhoneAudioIODevice (const IPhoneAudioIODevice&); - const IPhoneAudioIODevice& operator= (const IPhoneAudioIODevice&); + IPhoneAudioIODevice& operator= (const IPhoneAudioIODevice&); }; class IPhoneAudioIODeviceType : public AudioIODeviceType @@ -243235,7 +243235,7 @@ public: private: IPhoneAudioIODeviceType (const IPhoneAudioIODeviceType&); - const IPhoneAudioIODeviceType& operator= (const IPhoneAudioIODeviceType&); + IPhoneAudioIODeviceType& operator= (const IPhoneAudioIODeviceType&); }; AudioIODeviceType* juce_createAudioIODeviceType_iPhoneAudio() @@ -245173,18 +245173,18 @@ END_JUCE_NAMESPACE - (void) keyDown: (NSEvent*) ev; - (void) keyUp: (NSEvent*) ev; -// Textinput Methods -- (void) insertText:(id)aString; // instead of keyDown: aString can be NSString or NSAttributedString -- (void) doCommandBySelector:(SEL)aSelector; -- (void) setMarkedText:(id)aString selectedRange:(NSRange)selRange; +// NSTextInput Methods +- (void) insertText: (id) aString; +- (void) doCommandBySelector: (SEL) aSelector; +- (void) setMarkedText: (id) aString selectedRange: (NSRange) selRange; - (void) unmarkText; - (BOOL) hasMarkedText; - (long) conversationIdentifier; -- (NSAttributedString *) attributedSubstringFromRange:(NSRange)theRange; +- (NSAttributedString*) attributedSubstringFromRange: (NSRange) theRange; - (NSRange) markedRange; - (NSRange) selectedRange; -- (NSRect) firstRectForCharacterRange:(NSRange)theRange; -- (unsigned int)characterIndexForPoint:(NSPoint)thePoint; +- (NSRect) firstRectForCharacterRange: (NSRange) theRange; +- (unsigned int) characterIndexForPoint: (NSPoint) thePoint; - (NSArray*) validAttributesForMarkedText; - (void) flagsChanged: (NSEvent*) ev; @@ -247009,7 +247009,7 @@ public: private: NSViewComponentInternal (const NSViewComponentInternal&); - const NSViewComponentInternal& operator= (const NSViewComponentInternal&); + NSViewComponentInternal& operator= (const NSViewComponentInternal&); }; NSViewComponent::NSViewComponent() @@ -247518,7 +247518,7 @@ private: ScopedPointer viewHolder; WindowedGLContext (const WindowedGLContext&); - const WindowedGLContext& operator= (const WindowedGLContext&); + WindowedGLContext& operator= (const WindowedGLContext&); }; OpenGLContext* OpenGLContext::createContextForWindow (Component* const component, @@ -250634,7 +250634,7 @@ private: HeapBlock tempInputBuffers, tempOutputBuffers; CoreAudioInternal (const CoreAudioInternal&); - const CoreAudioInternal& operator= (const CoreAudioInternal&); + CoreAudioInternal& operator= (const CoreAudioInternal&); static OSStatus audioIOProc (AudioDeviceID inDevice, const AudioTimeStamp* inNow, @@ -250943,7 +250943,7 @@ private: } CoreAudioIODevice (const CoreAudioIODevice&); - const CoreAudioIODevice& operator= (const CoreAudioIODevice&); + CoreAudioIODevice& operator= (const CoreAudioIODevice&); }; class CoreAudioIODeviceType : public AudioIODeviceType @@ -251142,7 +251142,7 @@ private: } CoreAudioIODeviceType (const CoreAudioIODeviceType&); - const CoreAudioIODeviceType& operator= (const CoreAudioIODeviceType&); + CoreAudioIODeviceType& operator= (const CoreAudioIODeviceType&); }; AudioIODeviceType* juce_createAudioIODeviceType_CoreAudio() diff --git a/juce_amalgamated.h b/juce_amalgamated.h index 4a3e7abd3f..3653821376 100644 --- a/juce_amalgamated.h +++ b/juce_amalgamated.h @@ -1096,7 +1096,7 @@ public: // Assignment and concatenation operators.. - const String& operator= (const String& other) throw(); + String& operator= (const String& other) throw(); String& operator+= (const tchar* const textToAppend); String& operator+= (const String& stringToAppend); @@ -1358,7 +1358,7 @@ public: int nextIndex; Concatenator (const Concatenator&); - const Concatenator& operator= (const Concatenator&); + Concatenator& operator= (const Concatenator&); }; juce_UseDebuggingNewOperator // (adds debugging info to find leaked objects) @@ -1580,7 +1580,7 @@ private: ElementType* data; HeapBlock (const HeapBlock&); - const HeapBlock& operator= (const HeapBlock&); + HeapBlock& operator= (const HeapBlock&); }; #endif // __JUCE_HEAPBLOCK_JUCEHEADER__ @@ -3178,7 +3178,7 @@ public: referencedObject->incReferenceCount(); } - const ReferenceCountedObjectPtr& operator= (const ReferenceCountedObjectPtr& other) + ReferenceCountedObjectPtr& operator= (const ReferenceCountedObjectPtr& other) { ReferenceCountedObjectClass* const newObject = other.referencedObject; @@ -3197,7 +3197,7 @@ public: return *this; } - const ReferenceCountedObjectPtr& operator= (ReferenceCountedObjectClass* const newObject) + ReferenceCountedObjectPtr& operator= (ReferenceCountedObjectClass* const newObject) { if (referencedObject != newObject) { @@ -3332,7 +3332,7 @@ public: inline ~ScopedPointer() { delete object; } - const ScopedPointer& operator= (ScopedPointer& objectToTransferFrom) + ScopedPointer& operator= (ScopedPointer& objectToTransferFrom) { if (this != objectToTransferFrom.getAddress()) { @@ -3349,7 +3349,7 @@ public: return *this; } - const ScopedPointer& operator= (ObjectType* const newObjectToTakePossessionOf) + ScopedPointer& operator= (ObjectType* const newObjectToTakePossessionOf) { if (object != newObjectToTakePossessionOf) { @@ -3844,7 +3844,7 @@ public: ~StringArray(); - const StringArray& operator= (const StringArray& other); + StringArray& operator= (const StringArray& other); bool operator== (const StringArray& other) const; @@ -3929,7 +3929,7 @@ public: ~StringPairArray() throw(); - const StringPairArray& operator= (const StringPairArray& other) throw(); + StringPairArray& operator= (const StringPairArray& other) throw(); bool operator== (const StringPairArray& other) const throw(); @@ -4000,7 +4000,7 @@ public: RelativeTime (const RelativeTime& other) throw(); - const RelativeTime& operator= (const RelativeTime& other) throw(); + RelativeTime& operator= (const RelativeTime& other) throw(); ~RelativeTime() throw(); @@ -4081,7 +4081,7 @@ public: ~Time() throw(); - const Time& operator= (const Time& other) throw(); + Time& operator= (const Time& other) throw(); static const Time JUCE_CALLTYPE getCurrentTime() throw(); @@ -4193,9 +4193,9 @@ public: ~File() {} - const File& operator= (const String& newFilePath); + File& operator= (const String& newFilePath); - const File& operator= (const File& otherFile); + File& operator= (const File& otherFile); static const File nonexistent; @@ -4427,7 +4427,7 @@ public: XmlElement (const XmlElement& other) throw(); - const XmlElement& operator= (const XmlElement& other) throw(); + XmlElement& operator= (const XmlElement& other) throw(); ~XmlElement() throw(); @@ -4580,7 +4580,7 @@ private: XmlAttributeNode* next; private: - const XmlAttributeNode& operator= (const XmlAttributeNode&); + XmlAttributeNode& operator= (const XmlAttributeNode&); }; XmlAttributeNode* attributes; @@ -4608,7 +4608,7 @@ public: PropertySet (const PropertySet& other) throw(); - const PropertySet& operator= (const PropertySet& other) throw(); + PropertySet& operator= (const PropertySet& other) throw(); virtual ~PropertySet(); @@ -5934,7 +5934,7 @@ private: MessageListener* messageRecipient; Message (const Message&); - const Message& operator= (const Message&); + Message& operator= (const Message&); }; #endif // __JUCE_MESSAGE_JUCEHEADER__ @@ -5990,7 +5990,7 @@ private: private: AsyncUpdaterInternal (const AsyncUpdaterInternal&); - const AsyncUpdaterInternal& operator= (const AsyncUpdaterInternal&); + AsyncUpdaterInternal& operator= (const AsyncUpdaterInternal&); }; AsyncUpdaterInternal internalAsyncHandler; @@ -6020,7 +6020,7 @@ public: void setValue (const var& newValue); - const Value& operator= (const var& newValue); + Value& operator= (const var& newValue); void referTo (const Value& valueToReferTo); @@ -6064,7 +6064,7 @@ public: void handleAsyncUpdate(); ValueSource (const ValueSource&); - const ValueSource& operator= (const ValueSource&); + ValueSource& operator= (const ValueSource&); }; explicit Value (ValueSource* const valueSource); @@ -6081,7 +6081,7 @@ private: // This is disallowed to avoid confusion about whether it should // do a by-value or by-reference copy. - const Value& operator= (const Value& other); + Value& operator= (const Value& other); }; #endif // __JUCE_VALUE_JUCEHEADER__ @@ -6144,7 +6144,7 @@ private: const CriticalSection& lock_; ScopedLock (const ScopedLock&); - const ScopedLock& operator= (const ScopedLock&); + ScopedLock& operator= (const ScopedLock&); }; class ScopedUnlock @@ -6160,7 +6160,7 @@ private: const CriticalSection& lock_; ScopedUnlock (const ScopedLock&); - const ScopedUnlock& operator= (const ScopedUnlock&); + ScopedUnlock& operator= (const ScopedUnlock&); }; #endif // __JUCE_SCOPEDLOCK_JUCEHEADER__ @@ -6197,7 +6197,7 @@ private: bool messagePending; ChangeListenerList (const ChangeListenerList&); - const ChangeListenerList& operator= (const ChangeListenerList&); + ChangeListenerList& operator= (const ChangeListenerList&); }; #endif // __JUCE_CHANGELISTENERLIST_JUCEHEADER__ @@ -6228,7 +6228,7 @@ private: ChangeListenerList changeListenerList; ChangeBroadcaster (const ChangeBroadcaster&); - const ChangeBroadcaster& operator= (const ChangeBroadcaster&); + ChangeBroadcaster& operator= (const ChangeBroadcaster&); }; #endif // __JUCE_CHANGEBROADCASTER_JUCEHEADER__ @@ -6310,7 +6310,7 @@ private: // disallow copy constructor UndoManager (const UndoManager&); - const UndoManager& operator= (const UndoManager&); + UndoManager& operator= (const UndoManager&); }; #endif // __JUCE_UNDOMANAGER_JUCEHEADER__ @@ -6324,7 +6324,7 @@ public: ValueTree (const ValueTree& other); - const ValueTree& operator= (const ValueTree& other); + ValueTree& operator= (const ValueTree& other); ~ValueTree(); @@ -6454,7 +6454,7 @@ private: juce_UseDebuggingNewOperator private: - const SharedObject& operator= (const SharedObject&); + SharedObject& operator= (const SharedObject&); }; template @@ -6548,7 +6548,7 @@ private: void trimFileSize (int maxFileSizeBytes) const; FileLogger (const FileLogger&); - const FileLogger& operator= (const FileLogger&); + FileLogger& operator= (const FileLogger&); }; #endif // __JUCE_FILELOGGER_JUCEHEADER__ @@ -6737,7 +6737,7 @@ private: void* pool; ScopedAutoReleasePool (const ScopedAutoReleasePool&); - const ScopedAutoReleasePool& operator= (const ScopedAutoReleasePool&); + ScopedAutoReleasePool& operator= (const ScopedAutoReleasePool&); }; #endif @@ -6800,7 +6800,7 @@ private: bool open (const bool openInExclusiveMode); AppleRemoteDevice (const AppleRemoteDevice&); - const AppleRemoteDevice& operator= (const AppleRemoteDevice&); + AppleRemoteDevice& operator= (const AppleRemoteDevice&); }; #endif @@ -7176,7 +7176,7 @@ public: BlowFish (const BlowFish& other); - const BlowFish& operator= (const BlowFish& other); + BlowFish& operator= (const BlowFish& other); ~BlowFish(); @@ -7212,7 +7212,7 @@ public: MD5 (const MD5& other); - const MD5& operator= (const MD5& other); + MD5& operator= (const MD5& other); MD5 (const MemoryBlock& data); @@ -7355,7 +7355,7 @@ private: ScopedPointer subIterator; DirectoryIterator (const DirectoryIterator&); - const DirectoryIterator& operator= (const DirectoryIterator&); + DirectoryIterator& operator= (const DirectoryIterator&); }; #endif // __JUCE_DIRECTORYITERATOR_JUCEHEADER__ @@ -7397,7 +7397,7 @@ private: bool needToSeek; FileInputStream (const FileInputStream&); - const FileInputStream& operator= (const FileInputStream&); + FileInputStream& operator= (const FileInputStream&); }; #endif // __JUCE_FILEINPUTSTREAM_JUCEHEADER__ @@ -7462,7 +7462,7 @@ public: ~FileSearchPath(); - const FileSearchPath& operator= (const String& path); + FileSearchPath& operator= (const String& path); int getNumPaths() const; @@ -7542,7 +7542,7 @@ private: String currentPipeName; NamedPipe (const NamedPipe&); - const NamedPipe& operator= (const NamedPipe&); + NamedPipe& operator= (const NamedPipe&); bool openInternal (const String& pipeName, const bool createPipe); }; @@ -7594,7 +7594,7 @@ private: void createTempFile (const File& parentDirectory, String name, const String& suffix, const int optionFlags); TemporaryFile (const TemporaryFile&); - const TemporaryFile& operator= (const TemporaryFile&); + TemporaryFile& operator= (const TemporaryFile&); }; #endif // __JUCE_TEMPORARYFILE_JUCEHEADER__ @@ -7692,7 +7692,7 @@ private: static int compareElements (const ZipEntryInfo* first, const ZipEntryInfo* second); ZipFile (const ZipFile&); - const ZipFile& operator= (const ZipFile&); + ZipFile& operator= (const ZipFile&); }; #endif // __JUCE_ZIPFILE_JUCEHEADER__ @@ -7751,7 +7751,7 @@ private: StreamingSocket (const String& hostname, const int portNumber, const int handle); StreamingSocket (const StreamingSocket&); - const StreamingSocket& operator= (const StreamingSocket&); + StreamingSocket& operator= (const StreamingSocket&); }; class JUCE_API DatagramSocket @@ -7799,7 +7799,7 @@ private: DatagramSocket (const String& hostname, const int portNumber, const int handle, const int localPortNumber); DatagramSocket (const DatagramSocket&); - const DatagramSocket& operator= (const DatagramSocket&); + DatagramSocket& operator= (const DatagramSocket&); }; #endif // __JUCE_SOCKET_JUCEHEADER__ @@ -7825,7 +7825,7 @@ public: ~URL(); - const URL& operator= (const URL& other); + URL& operator= (const URL& other); const String toString (const bool includeGetParameters) const; @@ -7928,7 +7928,7 @@ private: void ensureBuffered(); BufferedInputStream (const BufferedInputStream&); - const BufferedInputStream& operator= (const BufferedInputStream&); + BufferedInputStream& operator= (const BufferedInputStream&); }; #endif // __JUCE_BUFFEREDINPUTSTREAM_JUCEHEADER__ @@ -7959,7 +7959,7 @@ private: const File file; FileInputSource (const FileInputSource&); - const FileInputSource& operator= (const FileInputSource&); + FileInputSource& operator= (const FileInputSource&); }; #endif // __JUCE_FILEINPUTSOURCE_JUCEHEADER__ @@ -8001,7 +8001,7 @@ private: bool doNextBlock(); GZIPCompressorOutputStream (const GZIPCompressorOutputStream&); - const GZIPCompressorOutputStream& operator= (const GZIPCompressorOutputStream&); + GZIPCompressorOutputStream& operator= (const GZIPCompressorOutputStream&); }; #endif // __JUCE_GZIPCOMPRESSOROUTPUTSTREAM_JUCEHEADER__ @@ -8048,7 +8048,7 @@ private: ScopedPointer helper; GZIPDecompressorInputStream (const GZIPDecompressorInputStream&); - const GZIPDecompressorInputStream& operator= (const GZIPDecompressorInputStream&); + GZIPDecompressorInputStream& operator= (const GZIPDecompressorInputStream&); }; #endif // __JUCE_GZIPDECOMPRESSORINPUTSTREAM_JUCEHEADER__ @@ -8171,7 +8171,7 @@ private: const int64 startPositionInSourceStream, lengthOfSourceStream; SubregionStream (const SubregionStream&); - const SubregionStream& operator= (const SubregionStream&); + SubregionStream& operator= (const SubregionStream&); }; #endif // __JUCE_SUBREGIONSTREAM_JUCEHEADER__ @@ -8341,7 +8341,7 @@ private: int reentrancyLevel; InterProcessLock (const InterProcessLock&); - const InterProcessLock& operator= (const InterProcessLock&); + InterProcessLock& operator= (const InterProcessLock&); }; #endif // __JUCE_INTERPROCESSLOCK_JUCEHEADER__ @@ -8416,7 +8416,7 @@ private: void* internal; WaitableEvent (const WaitableEvent&); - const WaitableEvent& operator= (const WaitableEvent&); + WaitableEvent& operator= (const WaitableEvent&); }; #endif // __JUCE_WAITABLEEVENT_JUCEHEADER__ @@ -8503,7 +8503,7 @@ private: static CriticalSection runningThreadsLock; Thread (const Thread&); - const Thread& operator= (const Thread&); + Thread& operator= (const Thread&); }; #endif // __JUCE_THREAD_JUCEHEADER__ @@ -8538,7 +8538,7 @@ private: mutable Array readerThreads; ReadWriteLock (const ReadWriteLock&); - const ReadWriteLock& operator= (const ReadWriteLock&); + ReadWriteLock& operator= (const ReadWriteLock&); }; #endif // __JUCE_READWRITELOCK_JUCEHEADER__ @@ -8568,7 +8568,7 @@ private: const ReadWriteLock& lock_; ScopedReadLock (const ScopedReadLock&); - const ScopedReadLock& operator= (const ScopedReadLock&); + ScopedReadLock& operator= (const ScopedReadLock&); }; #endif // __JUCE_SCOPEDREADLOCK_JUCEHEADER__ @@ -8598,7 +8598,7 @@ private: const bool lockWasSuccessful; ScopedTryLock (const ScopedTryLock&); - const ScopedTryLock& operator= (const ScopedTryLock&); + ScopedTryLock& operator= (const ScopedTryLock&); }; #endif // __JUCE_SCOPEDTRYLOCK_JUCEHEADER__ @@ -8625,7 +8625,7 @@ private: const ReadWriteLock& lock_; ScopedWriteLock (const ScopedWriteLock&); - const ScopedWriteLock& operator= (const ScopedWriteLock&); + ScopedWriteLock& operator= (const ScopedWriteLock&); }; #endif // __JUCE_SCOPEDWRITELOCK_JUCEHEADER__ @@ -8687,7 +8687,7 @@ private: bool shouldStop, isActive, shouldBeDeleted; ThreadPoolJob (const ThreadPoolJob&); - const ThreadPoolJob& operator= (const ThreadPoolJob&); + ThreadPoolJob& operator= (const ThreadPoolJob&); }; class JUCE_API ThreadPool @@ -8751,7 +8751,7 @@ private: bool runNextJob(); ThreadPool (const ThreadPool&); - const ThreadPool& operator= (const ThreadPool&); + ThreadPool& operator= (const ThreadPool&); }; #endif // __JUCE_THREADPOOL_JUCEHEADER__ @@ -8801,7 +8801,7 @@ private: bool clientsChanged; TimeSliceThread (const TimeSliceThread&); - const TimeSliceThread& operator= (const TimeSliceThread&); + TimeSliceThread& operator= (const TimeSliceThread&); }; #endif // __JUCE_TIMESLICETHREAD_JUCEHEADER__ @@ -8893,7 +8893,7 @@ public: MouseCursor (const MouseCursor& other) throw(); - const MouseCursor& operator= (const MouseCursor& other) throw(); + MouseCursor& operator= (const MouseCursor& other) throw(); ~MouseCursor() throw(); @@ -8943,7 +8943,7 @@ public: ModifierKeys (const ModifierKeys& other) throw(); - const ModifierKeys& operator= (const ModifierKeys& other) throw(); + ModifierKeys& operator= (const ModifierKeys& other) throw(); inline bool isCommandDown() const throw() { return (flags & commandModifier) != 0; } @@ -9039,7 +9039,7 @@ public: AffineTransform (const float mat00, const float mat01, const float mat02, const float mat10, const float mat11, const float mat12) throw(); - const AffineTransform& operator= (const AffineTransform& other) throw(); + AffineTransform& operator= (const AffineTransform& other) throw(); bool operator== (const AffineTransform& other) const throw(); @@ -9317,7 +9317,7 @@ public: KeyPress (const KeyPress& other) throw(); - const KeyPress& operator= (const KeyPress& other) throw(); + KeyPress& operator= (const KeyPress& other) throw(); bool operator== (const KeyPress& other) const throw(); @@ -9860,7 +9860,7 @@ public: Justification (const Justification& other) throw(); - const Justification& operator= (const Justification& other) throw(); + Justification& operator= (const Justification& other) throw(); inline int getFlags() const throw() { return flags; } @@ -9945,7 +9945,7 @@ public: EdgeTable (const EdgeTable& other) throw(); - const EdgeTable& operator= (const EdgeTable& other) throw(); + EdgeTable& operator= (const EdgeTable& other) throw(); ~EdgeTable() throw(); @@ -10071,7 +10071,7 @@ public: ~Path() throw(); - const Path& operator= (const Path& other) throw(); + Path& operator= (const Path& other) throw(); bool isEmpty() const throw(); @@ -10233,7 +10233,7 @@ public: int index; Iterator (const Iterator&); - const Iterator& operator= (const Iterator&); + Iterator& operator= (const Iterator&); }; void loadPathFromStream (InputStream& source); @@ -10300,7 +10300,7 @@ protected: private: Typeface (const Typeface&); - const Typeface& operator= (const Typeface&); + Typeface& operator= (const Typeface&); }; class JUCE_API CustomTypeface : public Typeface @@ -10352,7 +10352,7 @@ private: short lookupTable [128]; CustomTypeface (const CustomTypeface&); - const CustomTypeface& operator= (const CustomTypeface&); + CustomTypeface& operator= (const CustomTypeface&); GlyphInfo* findGlyph (const juce_wchar character, const bool loadIfNeeded) throw(); GlyphInfo* findGlyphSubstituting (const juce_wchar character) throw(); @@ -10388,7 +10388,7 @@ public: Font() throw(); - const Font& operator= (const Font& other) throw(); + Font& operator= (const Font& other) throw(); bool operator== (const Font& other) const throw(); bool operator!= (const Font& other) const throw(); @@ -10522,7 +10522,7 @@ public: PathStrokeType (const PathStrokeType& other) throw(); - const PathStrokeType& operator= (const PathStrokeType& other) throw(); + PathStrokeType& operator= (const PathStrokeType& other) throw(); ~PathStrokeType() throw(); @@ -10581,7 +10581,7 @@ public: Line (const Point& start, const Point& end) throw(); - const Line& operator= (const Line& other) throw(); + Line& operator= (const Line& other) throw(); ~Line() throw(); @@ -11152,7 +11152,7 @@ public: ~Colour() throw(); - const Colour& operator= (const Colour& other) throw(); + Colour& operator= (const Colour& other) throw(); bool operator== (const Colour& other) const throw(); bool operator!= (const Colour& other) const throw(); @@ -11379,7 +11379,7 @@ public: FillType (const FillType& other) throw(); - const FillType& operator= (const FillType& other) throw(); + FillType& operator= (const FillType& other) throw(); ~FillType() throw(); @@ -11426,7 +11426,7 @@ public: RectanglePlacement (const RectanglePlacement& other) throw(); - const RectanglePlacement& operator= (const RectanglePlacement& other) throw(); + RectanglePlacement& operator= (const RectanglePlacement& other) throw(); enum { @@ -11751,8 +11751,8 @@ private: bool saveStatePending; void saveStateIfPending() throw(); - const Graphics& operator= (const Graphics& other); Graphics (const Graphics&); + Graphics& operator= (const Graphics& other); }; #endif // __JUCE_GRAPHICS_JUCEHEADER__ @@ -11787,7 +11787,7 @@ public: RectangleList (const Rectangle& rect) throw(); - const RectangleList& operator= (const RectangleList& other) throw(); + RectangleList& operator= (const RectangleList& other) throw(); ~RectangleList() throw(); @@ -11855,7 +11855,7 @@ public: int index; Iterator (const Iterator&); - const Iterator& operator= (const Iterator&); + Iterator& operator= (const Iterator&); }; juce_UseDebuggingNewOperator @@ -12148,7 +12148,7 @@ private: void setLastDragDropTarget (Component* comp); ComponentPeer (const ComponentPeer&); - const ComponentPeer& operator= (const ComponentPeer&); + ComponentPeer& operator= (const ComponentPeer&); }; #endif // __JUCE_COMPONENTPEER_JUCEHEADER__ @@ -12641,7 +12641,7 @@ private: // this one to avoid compiler warnings. Component (const Component&); - const Component& operator= (const Component&); + Component& operator= (const Component&); // (dummy method to cause a deliberate compile error - if you hit this, you need to update your // subclass to use the new parameters to keyStateChanged) @@ -12811,7 +12811,7 @@ private: ApplicationCommandTarget* const owner; CommandTargetMessageInvoker (const CommandTargetMessageInvoker&); - const CommandTargetMessageInvoker& operator= (const CommandTargetMessageInvoker&); + CommandTargetMessageInvoker& operator= (const CommandTargetMessageInvoker&); }; ScopedPointer messageInvoker; @@ -12820,7 +12820,7 @@ private: bool tryToInvoke (const InvocationInfo& info, const bool async); ApplicationCommandTarget (const ApplicationCommandTarget&); - const ApplicationCommandTarget& operator= (const ApplicationCommandTarget&); + ApplicationCommandTarget& operator= (const ApplicationCommandTarget&); }; #endif // __JUCE_APPLICATIONCOMMANDTARGET_JUCEHEADER__ @@ -12905,7 +12905,7 @@ private: ScopedPointer appLock; JUCEApplication (const JUCEApplication&); - const JUCEApplication& operator= (const JUCEApplication&); + JUCEApplication& operator= (const JUCEApplication&); public: bool initialiseApp (String& commandLine); @@ -12951,7 +12951,7 @@ public: private: DeletedAtShutdown (const DeletedAtShutdown&); - const DeletedAtShutdown& operator= (const DeletedAtShutdown&); + DeletedAtShutdown& operator= (const DeletedAtShutdown&); }; #endif // __JUCE_DELETEDATSHUTDOWN_JUCEHEADER__ @@ -12992,7 +12992,7 @@ private: Timer* previous; Timer* next; - const Timer& operator= (const Timer&); + Timer& operator= (const Timer&); }; #endif // __JUCE_TIMER_JUCEHEADER__ @@ -13110,7 +13110,7 @@ private: void handleAsyncUpdate(); Desktop (const Desktop&); - const Desktop& operator= (const Desktop&); + Desktop& operator= (const Desktop&); }; #endif // __JUCE_DESKTOP_JUCEHEADER__ @@ -13278,7 +13278,7 @@ private: void timerCallback(); PropertiesFile (const PropertiesFile&); - const PropertiesFile& operator= (const PropertiesFile&); + PropertiesFile& operator= (const PropertiesFile&); }; #endif // __JUCE_PROPERTIESFILE_JUCEHEADER__ @@ -13323,7 +13323,7 @@ private: int commonSettingsAreReadOnly; ApplicationProperties (const ApplicationProperties&); - const ApplicationProperties& operator= (const ApplicationProperties&); + ApplicationProperties& operator= (const ApplicationProperties&); void openFiles() throw(); }; @@ -13408,7 +13408,7 @@ private: String formatName; AudioFormatReader (const AudioFormatReader&); - const AudioFormatReader& operator= (const AudioFormatReader&); + AudioFormatReader& operator= (const AudioFormatReader&); }; #endif // __JUCE_AUDIOFORMATREADER_JUCEHEADER__ @@ -13445,7 +13445,7 @@ public: AudioSampleBuffer (const AudioSampleBuffer& other) throw(); - const AudioSampleBuffer& operator= (const AudioSampleBuffer& other) throw(); + AudioSampleBuffer& operator= (const AudioSampleBuffer& other) throw(); virtual ~AudioSampleBuffer() throw(); @@ -13915,7 +13915,7 @@ private: #endif AudioCDReader (const AudioCDReader&); - const AudioCDReader& operator= (const AudioCDReader&); + AudioCDReader& operator= (const AudioCDReader&); }; #endif @@ -14017,7 +14017,7 @@ private: const bool deleteSourceWhenDeleted; AudioSubsectionReader (const AudioSubsectionReader&); - const AudioSubsectionReader& operator= (const AudioSubsectionReader&); + AudioSubsectionReader& operator= (const AudioSubsectionReader&); }; #endif // __JUCE_AUDIOSUBSECTIONREADER_JUCEHEADER__ @@ -14405,7 +14405,7 @@ private: void readBufferSection (int start, int length, AudioSampleBuffer& buffer, int startSample); AudioFormatReaderSource (const AudioFormatReaderSource&); - const AudioFormatReaderSource& operator= (const AudioFormatReaderSource&); + AudioFormatReaderSource& operator= (const AudioFormatReaderSource&); }; #endif // __JUCE_AUDIOFORMATREADERSOURCE_JUCEHEADER__ @@ -14552,7 +14552,7 @@ private: float lastGain, gain; AudioSourcePlayer (const AudioSourcePlayer&); - const AudioSourcePlayer& operator= (const AudioSourcePlayer&); + AudioSourcePlayer& operator= (const AudioSourcePlayer&); }; #endif // __JUCE_AUDIOSOURCEPLAYER_JUCEHEADER__ @@ -14613,7 +14613,7 @@ private: void readBufferSection (int start, int length, int bufferOffset); BufferingAudioSource (const BufferingAudioSource&); - const BufferingAudioSource& operator= (const BufferingAudioSource&); + BufferingAudioSource& operator= (const BufferingAudioSource&); }; #endif // __JUCE_BUFFERINGAUDIOSOURCE_JUCEHEADER__ @@ -14667,7 +14667,7 @@ private: void applyFilter (float* samples, int num, FilterState& fs); ResamplingAudioSource (const ResamplingAudioSource&); - const ResamplingAudioSource& operator= (const ResamplingAudioSource&); + ResamplingAudioSource& operator= (const ResamplingAudioSource&); }; #endif // __JUCE_RESAMPLINGAUDIOSOURCE_JUCEHEADER__ @@ -14733,7 +14733,7 @@ private: bool isPrepared, inputStreamEOF; AudioTransportSource (const AudioTransportSource&); - const AudioTransportSource& operator= (const AudioTransportSource&); + AudioTransportSource& operator= (const AudioTransportSource&); }; #endif // __JUCE_AUDIOTRANSPORTSOURCE_JUCEHEADER__ @@ -14796,7 +14796,7 @@ private: CriticalSection lock; ChannelRemappingAudioSource (const ChannelRemappingAudioSource&); - const ChannelRemappingAudioSource& operator= (const ChannelRemappingAudioSource&); + ChannelRemappingAudioSource& operator= (const ChannelRemappingAudioSource&); }; #endif // __JUCE_CHANNELREMAPPINGAUDIOSOURCE_JUCEHEADER__ @@ -14870,7 +14870,7 @@ protected: float x1, x2, y1, y2; // (use the copyCoefficientsFrom() method instead of this operator) - const IIRFilter& operator= (const IIRFilter&); + IIRFilter& operator= (const IIRFilter&); }; #endif // __JUCE_IIRFILTER_JUCEHEADER__ @@ -14900,7 +14900,7 @@ private: OwnedArray iirFilters; IIRFilterAudioSource (const IIRFilterAudioSource&); - const IIRFilterAudioSource& operator= (const IIRFilterAudioSource&); + IIRFilterAudioSource& operator= (const IIRFilterAudioSource&); }; #endif // __JUCE_IIRFILTERAUDIOSOURCE_JUCEHEADER__ @@ -14948,7 +14948,7 @@ private: int bufferSizeExpected; MixerAudioSource (const MixerAudioSource&); - const MixerAudioSource& operator= (const MixerAudioSource&); + MixerAudioSource& operator= (const MixerAudioSource&); }; #endif // __JUCE_MIXERAUDIOSOURCE_JUCEHEADER__ @@ -14995,7 +14995,7 @@ private: float amplitude; ToneGeneratorAudioSource (const ToneGeneratorAudioSource&); - const ToneGeneratorAudioSource& operator= (const ToneGeneratorAudioSource&); + ToneGeneratorAudioSource& operator= (const ToneGeneratorAudioSource&); }; #endif // __JUCE_TONEGENERATORAUDIOSOURCE_JUCEHEADER__ @@ -15053,7 +15053,7 @@ private: String typeName; AudioIODeviceType (const AudioIODeviceType&); - const AudioIODeviceType& operator= (const AudioIODeviceType&); + AudioIODeviceType& operator= (const AudioIODeviceType&); }; #endif // __JUCE_AUDIOIODEVICETYPE_JUCEHEADER__ @@ -15102,7 +15102,7 @@ public: ~MidiMessage() throw(); - const MidiMessage& operator= (const MidiMessage& other) throw(); + MidiMessage& operator= (const MidiMessage& other) throw(); uint8* getRawData() const throw() { return data; } @@ -15448,7 +15448,7 @@ public: MidiBuffer (const MidiBuffer& other) throw(); - const MidiBuffer& operator= (const MidiBuffer& other) throw(); + MidiBuffer& operator= (const MidiBuffer& other) throw(); ~MidiBuffer() throw(); @@ -15503,7 +15503,7 @@ public: const uint8* data; Iterator (const Iterator&); - const Iterator& operator= (const Iterator&); + Iterator& operator= (const Iterator&); }; juce_UseDebuggingNewOperator @@ -15616,7 +15616,7 @@ private: const uint32 componentUID; ComponentDeletionWatcher (const ComponentDeletionWatcher&); - const ComponentDeletionWatcher& operator= (const ComponentDeletionWatcher&); + ComponentDeletionWatcher& operator= (const ComponentDeletionWatcher&); }; #endif // __JUCE_COMPONENTDELETIONWATCHER_JUCEHEADER__ @@ -15719,7 +15719,7 @@ private: void hide(); TooltipWindow (const TooltipWindow&); - const TooltipWindow& operator= (const TooltipWindow&); + TooltipWindow& operator= (const TooltipWindow&); }; #endif // __JUCE_TOOLTIPWINDOW_JUCEHEADER__ @@ -15905,7 +15905,7 @@ private: void sendStateMessage(); Button (const Button&); - const Button& operator= (const Button&); + Button& operator= (const Button&); }; #endif // __JUCE_BUTTON_JUCEHEADER__ @@ -16011,7 +16011,7 @@ private: void timerCallback(); ScrollBar (const ScrollBar&); - const ScrollBar& operator= (const ScrollBar&); + ScrollBar& operator= (const ScrollBar&); }; #endif // __JUCE_SCROLLBAR_JUCEHEADER__ @@ -16094,7 +16094,7 @@ private: void updateVisibleRegion(); Viewport (const Viewport&); - const Viewport& operator= (const Viewport&); + Viewport& operator= (const Viewport&); }; #endif // __JUCE_VIEWPORT_JUCEHEADER__ @@ -16117,7 +16117,7 @@ public: ~PopupMenu(); - const PopupMenu& operator= (const PopupMenu& other); + PopupMenu& operator= (const PopupMenu& other); void clear(); @@ -16226,7 +16226,7 @@ public: int index; MenuItemIterator (const MenuItemIterator&); - const MenuItemIterator& operator= (const MenuItemIterator&); + MenuItemIterator& operator= (const MenuItemIterator&); }; juce_UseDebuggingNewOperator @@ -16570,7 +16570,7 @@ private: void repaintText (const Range& range); TextEditor (const TextEditor&); - const TextEditor& operator= (const TextEditor&); + TextEditor& operator= (const TextEditor&); }; #endif // __JUCE_TEXTEDITOR_JUCEHEADER__ @@ -16712,7 +16712,7 @@ private: void callChangeListeners(); Label (const Label&); - const Label& operator= (const Label&); + Label& operator= (const Label&); }; #endif // __JUCE_LABEL_JUCEHEADER__ @@ -16857,7 +16857,7 @@ private: ItemInfo* getItemForIndex (const int index) const throw(); ComboBox (const ComboBox&); - const ComboBox& operator= (const ComboBox&); + ComboBox& operator= (const ComboBox&); }; #endif // __JUCE_COMBOBOX_JUCEHEADER__ @@ -17032,7 +17032,7 @@ private: AudioIODeviceType* findType (const String& inputName, const String& outputName); AudioDeviceManager (const AudioDeviceManager&); - const AudioDeviceManager& operator= (const AudioDeviceManager&); + AudioDeviceManager& operator= (const AudioDeviceManager&); }; #endif // __JUCE_AUDIODEVICEMANAGER_JUCEHEADER__ @@ -17277,7 +17277,7 @@ private: short timeFormat; MidiFile (const MidiFile&); - const MidiFile& operator= (const MidiFile&); + MidiFile& operator= (const MidiFile&); void readNextTrack (const char* data, int size); void writeTrack (OutputStream& mainOut, const int trackNum); @@ -17352,7 +17352,7 @@ private: void noteOffInternal (const int midiChannel, const int midiNoteNumber); MidiKeyboardState (const MidiKeyboardState&); - const MidiKeyboardState& operator= (const MidiKeyboardState&); + MidiKeyboardState& operator= (const MidiKeyboardState&); }; #endif // __JUCE_MIDIKEYBOARDSTATE_JUCEHEADER__ @@ -17398,7 +17398,7 @@ private: double sampleRate; MidiMessageCollector (const MidiMessageCollector&); - const MidiMessageCollector& operator= (const MidiMessageCollector&); + MidiMessageCollector& operator= (const MidiMessageCollector&); }; #endif // __JUCE_MIDIMESSAGECOLLECTOR_JUCEHEADER__ @@ -17682,7 +17682,7 @@ private: #endif AudioProcessor (const AudioProcessor&); - const AudioProcessor& operator= (const AudioProcessor&); + AudioProcessor& operator= (const AudioProcessor&); }; #endif // __JUCE_AUDIOPROCESSOR_JUCEHEADER__ @@ -17699,7 +17699,7 @@ public: PluginDescription() throw(); PluginDescription (const PluginDescription& other) throw(); - const PluginDescription& operator= (const PluginDescription& other) throw(); + PluginDescription& operator= (const PluginDescription& other) throw(); ~PluginDescription() throw(); String name; @@ -17752,7 +17752,7 @@ protected: AudioPluginInstance(); AudioPluginInstance (const AudioPluginInstance&); - const AudioPluginInstance& operator= (const AudioPluginInstance&); + AudioPluginInstance& operator= (const AudioPluginInstance&); }; #endif // __JUCE_AUDIOPLUGININSTANCE_JUCEHEADER__ @@ -17790,7 +17790,7 @@ protected: AudioPluginFormat() throw(); AudioPluginFormat (const AudioPluginFormat&); - const AudioPluginFormat& operator= (const AudioPluginFormat&); + AudioPluginFormat& operator= (const AudioPluginFormat&); }; #endif // __JUCE_AUDIOPLUGINFORMAT_JUCEHEADER__ @@ -17818,7 +17818,7 @@ public: private: AudioUnitPluginFormat (const AudioUnitPluginFormat&); - const AudioUnitPluginFormat& operator= (const AudioUnitPluginFormat&); + AudioUnitPluginFormat& operator= (const AudioUnitPluginFormat&); }; #endif @@ -18090,7 +18090,7 @@ public: private: VSTPluginFormat (const VSTPluginFormat&); - const VSTPluginFormat& operator= (const VSTPluginFormat&); + VSTPluginFormat& operator= (const VSTPluginFormat&); void recursiveFileSearch (StringArray& results, const File& dir, const bool recursive); }; @@ -18139,7 +18139,7 @@ private: OwnedArray formats; AudioPluginFormatManager (const AudioPluginFormatManager&); - const AudioPluginFormatManager& operator= (const AudioPluginFormatManager&); + AudioPluginFormatManager& operator= (const AudioPluginFormatManager&); }; #endif // __JUCE_AUDIOPLUGINFORMATMANAGER_JUCEHEADER__ @@ -18214,7 +18214,7 @@ private: OwnedArray types; KnownPluginList (const KnownPluginList&); - const KnownPluginList& operator= (const KnownPluginList&); + KnownPluginList& operator= (const KnownPluginList&); }; #endif // __JUCE_KNOWNPLUGINLIST_JUCEHEADER__ @@ -18266,7 +18266,7 @@ private: void setDeadMansPedalFile (const StringArray& newContents) throw(); PluginDirectoryScanner (const PluginDirectoryScanner&); - const PluginDirectoryScanner& operator= (const PluginDirectoryScanner&); + PluginDirectoryScanner& operator= (const PluginDirectoryScanner&); }; #endif // __JUCE_PLUGINDIRECTORYSCANNER_JUCEHEADER__ @@ -18459,7 +18459,7 @@ private: bool isMouseClick); ListBox (const ListBox&); - const ListBox& operator= (const ListBox&); + ListBox& operator= (const ListBox&); }; #endif // __JUCE_LISTBOX_JUCEHEADER__ @@ -18503,7 +18503,7 @@ protected: private: TextButton (const TextButton&); - const TextButton& operator= (const TextButton&); + TextButton& operator= (const TextButton&); }; #endif // __JUCE_TEXTBUTTON_JUCEHEADER__ @@ -18546,7 +18546,7 @@ private: void scanFor (AudioPluginFormat* format); PluginListComponent (const PluginListComponent&); - const PluginListComponent& operator= (const PluginListComponent&); + PluginListComponent& operator= (const PluginListComponent&); }; #endif // __JUCE_PLUGINLISTCOMPONENT_JUCEHEADER__ @@ -18604,7 +18604,7 @@ public: void unprepare(); Node (const Node&); - const Node& operator= (const Node&); + Node& operator= (const Node&); }; struct JUCE_API Connection @@ -18735,7 +18735,7 @@ public: AudioProcessorGraph* graph; AudioGraphIOProcessor (const AudioGraphIOProcessor&); - const AudioGraphIOProcessor& operator= (const AudioGraphIOProcessor&); + AudioGraphIOProcessor& operator= (const AudioGraphIOProcessor&); }; // AudioProcessor methods: @@ -18799,7 +18799,7 @@ private: const int recursionCheck) const; AudioProcessorGraph (const AudioProcessorGraph&); - const AudioProcessorGraph& operator= (const AudioProcessorGraph&); + AudioProcessorGraph& operator= (const AudioProcessorGraph&); }; #endif // __JUCE_AUDIOPROCESSORGRAPH_JUCEHEADER__ @@ -18857,7 +18857,7 @@ private: MidiMessageCollector messageCollector; AudioProcessorPlayer (const AudioProcessorPlayer&); - const AudioProcessorPlayer& operator= (const AudioProcessorPlayer&); + AudioProcessorPlayer& operator= (const AudioProcessorPlayer&); }; #endif // __JUCE_AUDIOPROCESSORPLAYER_JUCEHEADER__ @@ -18981,7 +18981,7 @@ private: PropertyPanel* panel; GenericAudioProcessorEditor (const GenericAudioProcessorEditor&); - const GenericAudioProcessorEditor& operator= (const GenericAudioProcessorEditor&); + GenericAudioProcessorEditor& operator= (const GenericAudioProcessorEditor&); }; #endif // __JUCE_GENERICAUDIOPROCESSOREDITOR_JUCEHEADER__ @@ -19155,7 +19155,7 @@ private: bool shouldStealNotes; Synthesiser (const Synthesiser&); - const Synthesiser& operator= (const Synthesiser&); + Synthesiser& operator= (const Synthesiser&); }; #endif // __JUCE_SYNTHESISER_JUCEHEADER__ @@ -19271,7 +19271,7 @@ private: CriticalSection actionListenerLock_; ActionListenerList (const ActionListenerList&); - const ActionListenerList& operator= (const ActionListenerList&); + ActionListenerList& operator= (const ActionListenerList&); }; #endif // __JUCE_ACTIONLISTENERLIST_JUCEHEADER__ @@ -19298,7 +19298,7 @@ private: ActionListenerList actionListenerList; ActionBroadcaster (const ActionBroadcaster&); - const ActionBroadcaster& operator= (const ActionBroadcaster&); + ActionBroadcaster& operator= (const ActionBroadcaster&); }; #endif // __JUCE_ACTIONBROADCASTER_JUCEHEADER__ @@ -19337,7 +19337,7 @@ public: private: CallbackMessage (const CallbackMessage&); - const CallbackMessage& operator= (const CallbackMessage&); + CallbackMessage& operator= (const CallbackMessage&); }; #endif // __JUCE_CALLBACKMESSAGE_JUCEHEADER__ @@ -19426,7 +19426,7 @@ private: void run(); InterprocessConnection (const InterprocessConnection&); - const InterprocessConnection& operator= (const InterprocessConnection&); + InterprocessConnection& operator= (const InterprocessConnection&); }; #endif // __JUCE_INTERPROCESSCONNECTION_JUCEHEADER__ @@ -19465,7 +19465,7 @@ private: void run(); InterprocessConnectionServer (const InterprocessConnectionServer&); - const InterprocessConnectionServer& operator= (const InterprocessConnectionServer&); + InterprocessConnectionServer& operator= (const InterprocessConnectionServer&); }; #endif // __JUCE_INTERPROCESSCONNECTIONSERVER_JUCEHEADER__ @@ -19557,7 +19557,7 @@ private: CriticalSection lockingLock; MessageManager (const MessageManager&); - const MessageManager& operator= (const MessageManager&); + MessageManager& operator= (const MessageManager&); }; class JUCE_API MessageManagerLock @@ -19622,7 +19622,7 @@ private: CriticalSection timerListLock; OwnedArray timers; - const MultiTimer& operator= (const MultiTimer&); + MultiTimer& operator= (const MultiTimer&); }; #endif // __JUCE_MULTITIMER_JUCEHEADER__ @@ -19696,7 +19696,7 @@ private: int offset; ArrowButton (const ArrowButton&); - const ArrowButton& operator= (const ArrowButton&); + ArrowButton& operator= (const ArrowButton&); }; #endif // __JUCE_ARROWBUTTON_JUCEHEADER__ @@ -19755,7 +19755,7 @@ public: float opacity; private: - const RenderingContext& operator= (const RenderingContext&); + RenderingContext& operator= (const RenderingContext&); }; virtual void render (const RenderingContext& context) const = 0; @@ -19784,7 +19784,7 @@ public: private: Drawable (const Drawable&); - const Drawable& operator= (const Drawable&); + Drawable& operator= (const Drawable&); String name; }; @@ -19850,7 +19850,7 @@ private: void deleteImages(); DrawableButton (const DrawableButton&); - const DrawableButton& operator= (const DrawableButton&); + DrawableButton& operator= (const DrawableButton&); }; #endif // __JUCE_DRAWABLEBUTTON_JUCEHEADER__ @@ -19906,7 +19906,7 @@ private: const Font getFontToUse() const; HyperlinkButton (const HyperlinkButton&); - const HyperlinkButton& operator= (const HyperlinkButton&); + HyperlinkButton& operator= (const HyperlinkButton&); }; #endif // __JUCE_HYPERLINKBUTTON_JUCEHEADER__ @@ -19971,7 +19971,7 @@ private: void deleteImages(); ImageButton (const ImageButton&); - const ImageButton& operator= (const ImageButton&); + ImageButton& operator= (const ImageButton&); }; #endif // __JUCE_IMAGEBUTTON_JUCEHEADER__ @@ -20023,7 +20023,7 @@ private: float outlineWidth; ShapeButton (const ShapeButton&); - const ShapeButton& operator= (const ShapeButton&); + ShapeButton& operator= (const ShapeButton&); }; #endif // __JUCE_SHAPEBUTTON_JUCEHEADER__ @@ -20067,7 +20067,7 @@ protected: private: ToggleButton (const ToggleButton&); - const ToggleButton& operator= (const ToggleButton&); + ToggleButton& operator= (const ToggleButton&); }; #endif // __JUCE_TOGGLEBUTTON_JUCEHEADER__ @@ -20337,7 +20337,7 @@ private: ToolbarItemComponent* getNextActiveComponent (int index, const int delta) const; Toolbar (const Toolbar&); - const Toolbar& operator= (const Toolbar&); + Toolbar& operator= (const Toolbar&); }; #endif // __JUCE_TOOLBAR_JUCEHEADER__ @@ -20409,7 +20409,7 @@ private: Rectangle contentArea; ToolbarItemComponent (const ToolbarItemComponent&); - const ToolbarItemComponent& operator= (const ToolbarItemComponent&); + ToolbarItemComponent& operator= (const ToolbarItemComponent&); }; #endif // __JUCE_TOOLBARITEMCOMPONENT_JUCEHEADER__ @@ -20437,7 +20437,7 @@ private: ScopedPointer normalImage, toggledOnImage; ToolbarButton (const ToolbarButton&); - const ToolbarButton& operator= (const ToolbarButton&); + ToolbarButton& operator= (const ToolbarButton&); }; #endif // __JUCE_TOOLBARBUTTON_JUCEHEADER__ @@ -20475,7 +20475,7 @@ public: ~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(); @@ -20570,7 +20570,7 @@ public: public: Iterator (CodeDocument* const document); Iterator (const Iterator& other); - const Iterator& operator= (const Iterator& other) throw(); + Iterator& operator= (const Iterator& other) throw(); ~Iterator() throw(); juce_wchar nextChar(); @@ -20618,7 +20618,7 @@ private: void checkLastLineStatus(); CodeDocument (const CodeDocument&); - const CodeDocument& operator= (const CodeDocument&); + CodeDocument& operator= (const CodeDocument&); }; #endif // __JUCE_CODEDOCUMENT_JUCEHEADER__ @@ -20819,7 +20819,7 @@ private: int columnToIndex (int line, int column) const throw(); CodeEditorComponent (const CodeEditorComponent&); - const CodeEditorComponent& operator= (const CodeEditorComponent&); + CodeEditorComponent& operator= (const CodeEditorComponent&); }; #endif // __JUCE_CODEEDITORCOMPONENT_JUCEHEADER__ @@ -20924,7 +20924,7 @@ private: void timerCallback(); ProgressBar (const ProgressBar&); - const ProgressBar& operator= (const ProgressBar&); + ProgressBar& operator= (const ProgressBar&); }; #endif // __JUCE_PROGRESSBAR_JUCEHEADER__ @@ -21240,7 +21240,7 @@ private: bool incDecDragDirectionIsHorizontal() const; Slider (const Slider&); - const Slider& operator= (const Slider&); + Slider& operator= (const Slider&); }; #endif // __JUCE_SLIDER_JUCEHEADER__ @@ -21418,7 +21418,7 @@ private: void resizeColumnsToFit (int firstColumnIndex, int targetTotalWidth); TableHeaderComponent (const TableHeaderComponent&); - const TableHeaderComponent operator= (const TableHeaderComponent&); + TableHeaderComponent operator= (const TableHeaderComponent&); }; #endif // __JUCE_TABLEHEADERCOMPONENT_JUCEHEADER__ @@ -21539,7 +21539,7 @@ private: void updateColumnComponents() const; TableListBox (const TableListBox&); - const TableListBox& operator= (const TableListBox&); + TableListBox& operator= (const TableListBox&); }; #endif // __JUCE_TABLELISTBOX_JUCEHEADER__ @@ -21621,7 +21621,7 @@ private: void replaceComponent (ToolbarItemComponent* const comp); ToolbarItemPalette (const ToolbarItemPalette&); - const ToolbarItemPalette& operator= (const ToolbarItemPalette&); + ToolbarItemPalette& operator= (const ToolbarItemPalette&); }; #endif // __JUCE_TOOLBARITEMPALETTE_JUCEHEADER__ @@ -21787,7 +21787,7 @@ private: TreeViewItem* findItemFromIdentifierString (const String& identifierString); TreeViewItem (const TreeViewItem&); - const TreeViewItem& operator= (const TreeViewItem&); + TreeViewItem& operator= (const TreeViewItem&); }; class JUCE_API TreeView : public Component, @@ -21903,7 +21903,7 @@ private: Component* sourceComponent) const throw(); TreeView (const TreeView&); - const TreeView& operator= (const TreeView&); + TreeView& operator= (const TreeView&); }; #endif // __JUCE_TREEVIEW_JUCEHEADER__ @@ -22028,7 +22028,7 @@ public: private: BitmapData (const BitmapData&); - const BitmapData& operator= (const BitmapData&); + BitmapData& operator= (const BitmapData&); }; virtual void setPixelData (int destX, int destY, int destW, int destH, @@ -22060,7 +22060,7 @@ protected: private: - const Image& operator= (const Image&); + Image& operator= (const Image&); }; #endif // __JUCE_IMAGE_JUCEHEADER__ @@ -22143,7 +22143,7 @@ private: const Time& creationTime, const bool isReadOnly); DirectoryContentsList (const DirectoryContentsList&); - const DirectoryContentsList& operator= (const DirectoryContentsList&); + DirectoryContentsList& operator= (const DirectoryContentsList&); }; #endif // __JUCE_DIRECTORYCONTENTSLIST_JUCEHEADER__ @@ -22205,7 +22205,7 @@ protected: SortedSet listeners; DirectoryContentsDisplayComponent (const DirectoryContentsDisplayComponent&); - const DirectoryContentsDisplayComponent& operator= (const DirectoryContentsDisplayComponent&); + DirectoryContentsDisplayComponent& operator= (const DirectoryContentsDisplayComponent&); }; #endif // __JUCE_DIRECTORYCONTENTSDISPLAYCOMPONENT_JUCEHEADER__ @@ -22241,7 +22241,7 @@ public: private: FilePreviewComponent (const FilePreviewComponent&); - const FilePreviewComponent& operator= (const FilePreviewComponent&); + FilePreviewComponent& operator= (const FilePreviewComponent&); }; #endif // __JUCE_FILEPREVIEWCOMPONENT_JUCEHEADER__ @@ -22346,7 +22346,7 @@ private: bool isFileOrDirSuitable (const File& f) const; FileBrowserComponent (const FileBrowserComponent&); - const FileBrowserComponent& operator= (const FileBrowserComponent&); + FileBrowserComponent& operator= (const FileBrowserComponent&); }; #endif // __JUCE_FILEBROWSERCOMPONENT_JUCEHEADER__ @@ -22482,7 +22482,7 @@ private: void deleteShadowWindows(); DropShadower (const DropShadower&); - const DropShadower& operator= (const DropShadower&); + DropShadower& operator= (const DropShadower&); }; #endif // __JUCE_DROPSHADOWER_JUCEHEADER__ @@ -22536,7 +22536,7 @@ private: void setWindowActive (const bool isNowActive) throw(); TopLevelWindow (const TopLevelWindow&); - const TopLevelWindow& operator= (const TopLevelWindow&); + TopLevelWindow& operator= (const TopLevelWindow&); }; #endif // __JUCE_TOPLEVELWINDOW_JUCEHEADER__ @@ -22628,7 +22628,7 @@ private: double aspectRatio; ComponentBoundsConstrainer (const ComponentBoundsConstrainer&); - const ComponentBoundsConstrainer& operator= (const ComponentBoundsConstrainer&); + ComponentBoundsConstrainer& operator= (const ComponentBoundsConstrainer&); }; #endif // __JUCE_COMPONENTBOUNDSCONSTRAINER_JUCEHEADER__ @@ -22697,7 +22697,7 @@ private: void updateMouseZone (const MouseEvent& e) throw(); ResizableBorderComponent (const ResizableBorderComponent&); - const ResizableBorderComponent& operator= (const ResizableBorderComponent&); + ResizableBorderComponent& operator= (const ResizableBorderComponent&); }; #endif // __JUCE_RESIZABLEBORDERCOMPONENT_JUCEHEADER__ @@ -22733,7 +22733,7 @@ private: int originalX, originalY, originalW, originalH; ResizableCornerComponent (const ResizableCornerComponent&); - const ResizableCornerComponent& operator= (const ResizableCornerComponent&); + ResizableCornerComponent& operator= (const ResizableCornerComponent&); }; #endif // __JUCE_RESIZABLECORNERCOMPONENT_JUCEHEADER__ @@ -22839,7 +22839,7 @@ private: void updateLastPos(); ResizableWindow (const ResizableWindow&); - const ResizableWindow& operator= (const ResizableWindow&); + ResizableWindow& operator= (const ResizableWindow&); // (xxx remove these eventually) // temporarily here to stop old code compiling, as the parameters for these methods have changed.. @@ -22901,7 +22901,7 @@ public: GlyphArrangement (const GlyphArrangement& other); - const GlyphArrangement& operator= (const GlyphArrangement& other); + GlyphArrangement& operator= (const GlyphArrangement& other); ~GlyphArrangement(); @@ -23037,7 +23037,7 @@ private: const bool warnAboutOverwritingExistingFiles; FileChooserDialogBox (const FileChooserDialogBox&); - const FileChooserDialogBox& operator= (const FileChooserDialogBox&); + FileChooserDialogBox& operator= (const FileChooserDialogBox&); }; #endif // __JUCE_FILECHOOSERDIALOGBOX_JUCEHEADER__ @@ -23083,7 +23083,7 @@ public: private: FileListComponent (const FileListComponent&); - const FileListComponent& operator= (const FileListComponent&); + FileListComponent& operator= (const FileListComponent&); File lastDirectory; }; @@ -23181,7 +23181,7 @@ private: void handleAsyncUpdate(); FilenameComponent (const FilenameComponent&); - const FilenameComponent& operator= (const FilenameComponent&); + FilenameComponent& operator= (const FilenameComponent&); }; #endif // __JUCE_FILENAMECOMPONENT_JUCEHEADER__ @@ -23252,7 +23252,7 @@ private: void updateButtons() throw(); FileSearchPathListComponent (const FileSearchPathListComponent&); - const FileSearchPathListComponent& operator= (const FileSearchPathListComponent&); + FileSearchPathListComponent& operator= (const FileSearchPathListComponent&); }; #endif // __JUCE_FILESEARCHPATHLISTCOMPONENT_JUCEHEADER__ @@ -23291,7 +23291,7 @@ private: String dragAndDropDescription; FileTreeComponent (const FileTreeComponent&); - const FileTreeComponent& operator= (const FileTreeComponent&); + FileTreeComponent& operator= (const FileTreeComponent&); }; #endif // __JUCE_FILETREECOMPONENT_JUCEHEADER__ @@ -23328,7 +23328,7 @@ private: void getThumbSize (int& w, int& h) const; ImagePreviewComponent (const ImagePreviewComponent&); - const ImagePreviewComponent& operator= (const ImagePreviewComponent&); + ImagePreviewComponent& operator= (const ImagePreviewComponent&); }; #endif // __JUCE_IMAGEPREVIEWCOMPONENT_JUCEHEADER__ @@ -23476,7 +23476,7 @@ private: const int millisecsSinceKeyPressed, Component* const originatingComponent) const; - const KeyPressMappingSet& operator= (const KeyPressMappingSet&); + KeyPressMappingSet& operator= (const KeyPressMappingSet&); }; #endif // __JUCE_KEYPRESSMAPPINGSET_JUCEHEADER__ @@ -23533,7 +23533,7 @@ private: void assignNewKey (const CommandID commandID, int index); KeyMappingEditorComponent (const KeyMappingEditorComponent&); - const KeyMappingEditorComponent& operator= (const KeyMappingEditorComponent&); + KeyMappingEditorComponent& operator= (const KeyMappingEditorComponent&); }; #endif // __JUCE_KEYMAPPINGEDITORCOMPONENT_JUCEHEADER__ @@ -23597,7 +23597,7 @@ private: void registerWithParentComps() throw(); ComponentMovementWatcher (const ComponentMovementWatcher&); - const ComponentMovementWatcher& operator= (const ComponentMovementWatcher&); + ComponentMovementWatcher& operator= (const ComponentMovementWatcher&); }; #endif // __JUCE_COMPONENTMOVEMENTWATCHER_JUCEHEADER__ @@ -23643,7 +23643,7 @@ private: Justification justification; GroupComponent (const GroupComponent&); - const GroupComponent& operator= (const GroupComponent&); + GroupComponent& operator= (const GroupComponent&); }; #endif // __JUCE_GROUPCOMPONENT_JUCEHEADER__ @@ -23697,7 +23697,7 @@ protected: private: TabBarButton (const TabBarButton&); - const TabBarButton& operator= (const TabBarButton&); + TabBarButton& operator= (const TabBarButton&); }; class JUCE_API TabbedButtonBar : public Component, @@ -23790,7 +23790,7 @@ private: Button* extraTabsButton; TabbedButtonBar (const TabbedButtonBar&); - const TabbedButtonBar& operator= (const TabbedButtonBar&); + TabbedButtonBar& operator= (const TabbedButtonBar&); }; #endif // __JUCE_TABBEDBUTTONBAR_JUCEHEADER__ @@ -23886,7 +23886,7 @@ private: void changeCallback (const int newCurrentTabIndex, const String& newTabName); TabbedComponent (const TabbedComponent&); - const TabbedComponent& operator= (const TabbedComponent&); + TabbedComponent& operator= (const TabbedComponent&); }; #endif // __JUCE_TABBEDCOMPONENT_JUCEHEADER__ @@ -23964,7 +23964,7 @@ private: SortedSet listeners; MenuBarModel (const MenuBarModel&); - const MenuBarModel& operator= (const MenuBarModel&); + MenuBarModel& operator= (const MenuBarModel&); }; #endif // __JUCE_MENUBARMODEL_JUCEHEADER__ @@ -24018,7 +24018,7 @@ private: void repaintMenuItem (int index); MenuBarComponent (const MenuBarComponent&); - const MenuBarComponent& operator= (const MenuBarComponent&); + MenuBarComponent& operator= (const MenuBarComponent&); }; #endif // __JUCE_MENUBARCOMPONENT_JUCEHEADER__ @@ -24107,7 +24107,7 @@ private: void repaintTitleBar(); DocumentWindow (const DocumentWindow&); - const DocumentWindow& operator= (const DocumentWindow&); + DocumentWindow& operator= (const DocumentWindow&); }; #endif // __JUCE_DOCUMENTWINDOW_JUCEHEADER__ @@ -24295,7 +24295,7 @@ private: void updatePrefSizesToMatchCurrentPositions(); StretchableLayoutManager (const StretchableLayoutManager&); - const StretchableLayoutManager& operator= (const StretchableLayoutManager&); + StretchableLayoutManager& operator= (const StretchableLayoutManager&); }; #endif // __JUCE_STRETCHABLELAYOUTMANAGER_JUCEHEADER__ @@ -24333,7 +24333,7 @@ private: bool isVertical; StretchableLayoutResizerBar (const StretchableLayoutResizerBar&); - const StretchableLayoutResizerBar& operator= (const StretchableLayoutResizerBar&); + StretchableLayoutResizerBar& operator= (const StretchableLayoutResizerBar&); }; #endif // __JUCE_STRETCHABLELAYOUTRESIZERBAR_JUCEHEADER__ @@ -24380,7 +24380,7 @@ private: OwnedArray items; StretchableObjectResizer (const StretchableObjectResizer&); - const StretchableObjectResizer& operator= (const StretchableObjectResizer&); + StretchableObjectResizer& operator= (const StretchableObjectResizer&); }; #endif // __JUCE_STRETCHABLEOBJECTRESIZER_JUCEHEADER__ @@ -24427,7 +24427,7 @@ public: ~TextLayout() throw(); - const TextLayout& operator= (const TextLayout& layoutToCopy) throw(); + TextLayout& operator= (const TextLayout& layoutToCopy) throw(); void clear() throw(); @@ -24594,7 +24594,7 @@ private: // disable copy constructor AlertWindow (const AlertWindow&); - const AlertWindow& operator= (const AlertWindow&); + AlertWindow& operator= (const AlertWindow&); }; #endif // __JUCE_ALERTWINDOW_JUCEHEADER__ @@ -25073,7 +25073,7 @@ private: const bool flatOnBottom) throw(); LookAndFeel (const LookAndFeel&); - const LookAndFeel& operator= (const LookAndFeel&); + LookAndFeel& operator= (const LookAndFeel&); }; #endif // __JUCE_LOOKANDFEEL_JUCEHEADER__ @@ -25192,7 +25192,7 @@ private: DropShadowEffect scrollbarShadow; OldSchoolLookAndFeel (const OldSchoolLookAndFeel&); - const OldSchoolLookAndFeel& operator= (const OldSchoolLookAndFeel&); + OldSchoolLookAndFeel& operator= (const OldSchoolLookAndFeel&); }; #endif // __JUCE_OLDSCHOOLLOOKANDFEEL_JUCEHEADER__ @@ -25288,7 +25288,7 @@ public: { } - const SelectedItemSet& operator= (const SelectedItemSet& other) + SelectedItemSet& operator= (const SelectedItemSet& other) { if (selectedItems != other.selectedItems) { @@ -25617,7 +25617,7 @@ private: void checkJustHoveredCallback(); MouseHoverDetector (const MouseHoverDetector&); - const MouseHoverDetector& operator= (const MouseHoverDetector&); + MouseHoverDetector& operator= (const MouseHoverDetector&); }; #endif // __JUCE_MOUSEHOVERDETECTOR_JUCEHEADER__ @@ -25670,7 +25670,7 @@ private: void createButton(); BooleanPropertyComponent (const BooleanPropertyComponent&); - const BooleanPropertyComponent& operator= (const BooleanPropertyComponent&); + BooleanPropertyComponent& operator= (const BooleanPropertyComponent&); }; #endif // __JUCE_BOOLEANPROPERTYCOMPONENT_JUCEHEADER__ @@ -25707,7 +25707,7 @@ private: TextButton* button; ButtonPropertyComponent (const ButtonPropertyComponent&); - const ButtonPropertyComponent& operator= (const ButtonPropertyComponent&); + ButtonPropertyComponent& operator= (const ButtonPropertyComponent&); }; #endif // __JUCE_BUTTONPROPERTYCOMPONENT_JUCEHEADER__ @@ -25755,7 +25755,7 @@ private: void createComboBox (const Array * choiceIDs); ChoicePropertyComponent (const ChoicePropertyComponent&); - const ChoicePropertyComponent& operator= (const ChoicePropertyComponent&); + ChoicePropertyComponent& operator= (const ChoicePropertyComponent&); }; #endif // __JUCE_CHOICEPROPERTYCOMPONENT_JUCEHEADER__ @@ -25812,7 +25812,7 @@ protected: Slider* slider; SliderPropertyComponent (const SliderPropertyComponent&); - const SliderPropertyComponent& operator= (const SliderPropertyComponent&); + SliderPropertyComponent& operator= (const SliderPropertyComponent&); }; #endif // __JUCE_SLIDERPROPERTYCOMPONENT_JUCEHEADER__ @@ -25857,7 +25857,7 @@ private: void createEditor (const int maxNumChars, const bool isMultiLine); TextPropertyComponent (const TextPropertyComponent&); - const TextPropertyComponent& operator= (const TextPropertyComponent&); + TextPropertyComponent& operator= (const TextPropertyComponent&); }; #endif // __JUCE_TEXTPROPERTYCOMPONENT_JUCEHEADER__ @@ -25968,7 +25968,7 @@ private: Label* midiOutputLabel; AudioDeviceSelectorComponent (const AudioDeviceSelectorComponent&); - const AudioDeviceSelectorComponent& operator= (const AudioDeviceSelectorComponent&); + AudioDeviceSelectorComponent& operator= (const AudioDeviceSelectorComponent&); }; #endif // __JUCE_AUDIODEVICESELECTORCOMPONENT_JUCEHEADER__ @@ -26027,7 +26027,7 @@ private: DropShadowEffect shadow; BubbleComponent (const BubbleComponent&); - const BubbleComponent& operator= (const BubbleComponent&); + BubbleComponent& operator= (const BubbleComponent&); }; #endif // __JUCE_BUBBLECOMPONENT_JUCEHEADER__ @@ -26079,7 +26079,7 @@ private: const bool deleteSelfAfterUse); BubbleMessageComponent (const BubbleMessageComponent&); - const BubbleMessageComponent& operator= (const BubbleMessageComponent&); + BubbleMessageComponent& operator= (const BubbleMessageComponent&); }; #endif // __JUCE_BUBBLEMESSAGECOMPONENT_JUCEHEADER__ @@ -26154,7 +26154,7 @@ private: void resized(); ColourSelector (const ColourSelector&); - const ColourSelector& operator= (const ColourSelector&); + ColourSelector& operator= (const ColourSelector&); // this constructor is here temporarily to prevent old code compiling, because the parameters // have changed - if you get an error here, update your code to use the new constructor instead.. @@ -26217,7 +26217,7 @@ private: int scaleInt (const int n) const; MagnifierComponent (const MagnifierComponent&); - const MagnifierComponent& operator= (const MagnifierComponent&); + MagnifierComponent& operator= (const MagnifierComponent&); }; #endif // __JUCE_MAGNIFIERCOMPONENT_JUCEHEADER__ @@ -26390,7 +26390,7 @@ private: void repaintNote (const int midiNoteNumber); MidiKeyboardComponent (const MidiKeyboardComponent&); - const MidiKeyboardComponent& operator= (const MidiKeyboardComponent&); + MidiKeyboardComponent& operator= (const MidiKeyboardComponent&); }; #endif // __JUCE_MIDIKEYBOARDCOMPONENT_JUCEHEADER__ @@ -26431,7 +26431,7 @@ private: ScopedPointer info; NSViewComponent (const NSViewComponent&); - const NSViewComponent& operator= (const NSViewComponent&); + NSViewComponent& operator= (const NSViewComponent&); }; #endif @@ -26575,7 +26575,7 @@ private: void internalRepaint (int x, int y, int w, int h); OpenGLComponent (const OpenGLComponent&); - const OpenGLComponent& operator= (const OpenGLComponent&); + OpenGLComponent& operator= (const OpenGLComponent&); }; #endif @@ -26630,7 +26630,7 @@ private: int buttonSize; PreferencesPanel (const PreferencesPanel&); - const PreferencesPanel& operator= (const PreferencesPanel&); + PreferencesPanel& operator= (const PreferencesPanel&); }; #endif // __JUCE_PREFERENCESPANEL_JUCEHEADER__ @@ -26733,7 +26733,7 @@ private: #endif QuickTimeMovieComponent (const QuickTimeMovieComponent&); - const QuickTimeMovieComponent& operator= (const QuickTimeMovieComponent&); + QuickTimeMovieComponent& operator= (const QuickTimeMovieComponent&); }; #endif @@ -26771,7 +26771,7 @@ public: private: SystemTrayIconComponent (const SystemTrayIconComponent&); - const SystemTrayIconComponent& operator= (const SystemTrayIconComponent&); + SystemTrayIconComponent& operator= (const SystemTrayIconComponent&); }; #endif @@ -26832,7 +26832,7 @@ private: void checkWindowAssociation(); WebBrowserComponent (const WebBrowserComponent&); - const WebBrowserComponent& operator= (const WebBrowserComponent&); + WebBrowserComponent& operator= (const WebBrowserComponent&); }; #endif @@ -26881,7 +26881,7 @@ private: bool escapeKeyTriggersCloseButton; DialogWindow (const DialogWindow&); - const DialogWindow& operator= (const DialogWindow&); + DialogWindow& operator= (const DialogWindow&); }; #endif // __JUCE_DIALOGWINDOW_JUCEHEADER__ @@ -26935,7 +26935,7 @@ private: int originalClickCounter; SplashScreen (const SplashScreen&); - const SplashScreen& operator= (const SplashScreen&); + SplashScreen& operator= (const SplashScreen&); }; #endif // __JUCE_SPLASHSCREEN_JUCEHEADER__ @@ -26982,7 +26982,7 @@ private: const int timeOutMsWhenCancelling; ThreadWithProgressWindow (const ThreadWithProgressWindow&); - const ThreadWithProgressWindow& operator= (const ThreadWithProgressWindow&); + ThreadWithProgressWindow& operator= (const ThreadWithProgressWindow&); }; #endif // __JUCE_THREADWITHPROGRESSWINDOW_JUCEHEADER__ @@ -27148,7 +27148,7 @@ protected: Font font; private: - const SavedState& operator= (const SavedState&); + SavedState& operator= (const SavedState&); }; OwnedArray stateStack; @@ -27161,7 +27161,7 @@ protected: void writeImage (const Image& im, const int sx, const int sy, const int maxW, const int maxH) const; LowLevelGraphicsPostScriptRenderer (const LowLevelGraphicsPostScriptRenderer& other); - const LowLevelGraphicsPostScriptRenderer& operator= (const LowLevelGraphicsPostScriptRenderer&); + LowLevelGraphicsPostScriptRenderer& operator= (const LowLevelGraphicsPostScriptRenderer&); }; #endif // __JUCE_LOWLEVELGRAPHICSPOSTSCRIPTRENDERER_JUCEHEADER__ @@ -27231,7 +27231,7 @@ protected: OwnedArray stateStack; LowLevelGraphicsSoftwareRenderer (const LowLevelGraphicsSoftwareRenderer& other); - const LowLevelGraphicsSoftwareRenderer& operator= (const LowLevelGraphicsSoftwareRenderer&); + LowLevelGraphicsSoftwareRenderer& operator= (const LowLevelGraphicsSoftwareRenderer&); }; #endif // __JUCE_LOWLEVELGRAPHICSSOFTWARERENDERER_JUCEHEADER__ @@ -27291,7 +27291,7 @@ private: OwnedArray transforms; DrawableComposite (const DrawableComposite&); - const DrawableComposite& operator= (const DrawableComposite&); + DrawableComposite& operator= (const DrawableComposite&); }; #endif // __JUCE_DRAWABLECOMPOSITE_JUCEHEADER__ @@ -27346,7 +27346,7 @@ private: Colour overlayColour; DrawableImage (const DrawableImage&); - const DrawableImage& operator= (const DrawableImage&); + DrawableImage& operator= (const DrawableImage&); }; #endif // __JUCE_DRAWABLEIMAGE_JUCEHEADER__ @@ -27403,7 +27403,7 @@ private: void updateOutline(); DrawablePath (const DrawablePath&); - const DrawablePath& operator= (const DrawablePath&); + DrawablePath& operator= (const DrawablePath&); }; #endif // __JUCE_DRAWABLEPATH_JUCEHEADER__ @@ -27449,7 +27449,7 @@ private: Colour colour; DrawableText (const DrawableText&); - const DrawableText& operator= (const DrawableText&); + DrawableText& operator= (const DrawableText&); }; #endif // __JUCE_DRAWABLETEXT_JUCEHEADER__ @@ -27592,7 +27592,7 @@ private: int index, stackSize; PathFlatteningIterator (const PathFlatteningIterator&); - const PathFlatteningIterator& operator= (const PathFlatteningIterator&); + PathFlatteningIterator& operator= (const PathFlatteningIterator&); }; #endif // __JUCE_PATHITERATOR_JUCEHEADER__ @@ -27622,7 +27622,7 @@ public: PositionedRectangle (const PositionedRectangle& other) throw(); - const PositionedRectangle& operator= (const PositionedRectangle& other) throw(); + PositionedRectangle& operator= (const PositionedRectangle& other) throw(); ~PositionedRectangle() throw(); @@ -27707,9 +27707,9 @@ public: bool isPositionAbsolute() const throw(); - const bool operator== (const PositionedRectangle& other) const throw(); + bool operator== (const PositionedRectangle& other) const throw(); - const bool operator!= (const PositionedRectangle& other) const throw(); + bool operator!= (const PositionedRectangle& other) const throw(); juce_UseDebuggingNewOperator @@ -27795,7 +27795,7 @@ private: String name; CameraDevice (const CameraDevice&); - const CameraDevice& operator= (const CameraDevice&); + CameraDevice& operator= (const CameraDevice&); }; #endif @@ -27849,7 +27849,7 @@ private: ImageCache(); ImageCache (const ImageCache&); - const ImageCache& operator= (const ImageCache&); + ImageCache& operator= (const ImageCache&); ~ImageCache(); void timerCallback(); @@ -27905,7 +27905,7 @@ private: // no reason not to implement these one day.. ImageConvolutionKernel (const ImageConvolutionKernel&); - const ImageConvolutionKernel& operator= (const ImageConvolutionKernel&); + ImageConvolutionKernel& operator= (const ImageConvolutionKernel&); }; #endif // __JUCE_IMAGECONVOLUTIONKERNEL_JUCEHEADER__ @@ -28065,7 +28065,7 @@ private: String fileExtension, fileWildcard, openFileDialogTitle, saveFileDialogTitle; FileBasedDocument (const FileBasedDocument&); - const FileBasedDocument& operator= (const FileBasedDocument&); + FileBasedDocument& operator= (const FileBasedDocument&); }; #endif // __JUCE_FILEBASEDDOCUMENT_JUCEHEADER__ diff --git a/src/application/juce_Application.h b/src/application/juce_Application.h index 05d72d439a..dfe550b16c 100644 --- a/src/application/juce_Application.h +++ b/src/application/juce_Application.h @@ -292,7 +292,7 @@ private: ScopedPointer appLock; JUCEApplication (const JUCEApplication&); - const JUCEApplication& operator= (const JUCEApplication&); + JUCEApplication& operator= (const JUCEApplication&); public: /** @internal */ diff --git a/src/application/juce_ApplicationCommandTarget.h b/src/application/juce_ApplicationCommandTarget.h index 39c80ece60..4819fe5b1e 100644 --- a/src/application/juce_ApplicationCommandTarget.h +++ b/src/application/juce_ApplicationCommandTarget.h @@ -251,7 +251,7 @@ private: ApplicationCommandTarget* const owner; CommandTargetMessageInvoker (const CommandTargetMessageInvoker&); - const CommandTargetMessageInvoker& operator= (const CommandTargetMessageInvoker&); + CommandTargetMessageInvoker& operator= (const CommandTargetMessageInvoker&); }; ScopedPointer messageInvoker; @@ -260,7 +260,7 @@ private: bool tryToInvoke (const InvocationInfo& info, const bool async); ApplicationCommandTarget (const ApplicationCommandTarget&); - const ApplicationCommandTarget& operator= (const ApplicationCommandTarget&); + ApplicationCommandTarget& operator= (const ApplicationCommandTarget&); }; diff --git a/src/application/juce_ApplicationProperties.h b/src/application/juce_ApplicationProperties.h index ae625a7b2c..e44e95af23 100644 --- a/src/application/juce_ApplicationProperties.h +++ b/src/application/juce_ApplicationProperties.h @@ -156,7 +156,7 @@ private: int commonSettingsAreReadOnly; ApplicationProperties (const ApplicationProperties&); - const ApplicationProperties& operator= (const ApplicationProperties&); + ApplicationProperties& operator= (const ApplicationProperties&); void openFiles() throw(); }; diff --git a/src/audio/audio_file_formats/juce_AiffAudioFormat.cpp b/src/audio/audio_file_formats/juce_AiffAudioFormat.cpp index c1951d49b7..83fe3eba20 100644 --- a/src/audio/audio_file_formats/juce_AiffAudioFormat.cpp +++ b/src/audio/audio_file_formats/juce_AiffAudioFormat.cpp @@ -501,7 +501,7 @@ public: private: 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); } }; @@ -517,7 +517,7 @@ class AiffAudioFormatWriter : public AudioFormatWriter static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); } AiffAudioFormatWriter (const AiffAudioFormatWriter&); - const AiffAudioFormatWriter& operator= (const AiffAudioFormatWriter&); + AiffAudioFormatWriter& operator= (const AiffAudioFormatWriter&); void writeHeader() { diff --git a/src/audio/audio_file_formats/juce_AudioCDReader.h b/src/audio/audio_file_formats/juce_AudioCDReader.h index 915e071316..49542d6f23 100644 --- a/src/audio/audio_file_formats/juce_AudioCDReader.h +++ b/src/audio/audio_file_formats/juce_AudioCDReader.h @@ -178,7 +178,7 @@ private: #endif AudioCDReader (const AudioCDReader&); - const AudioCDReader& operator= (const AudioCDReader&); + AudioCDReader& operator= (const AudioCDReader&); }; #endif diff --git a/src/audio/audio_file_formats/juce_AudioFormatReader.h b/src/audio/audio_file_formats/juce_AudioFormatReader.h index 8ea1d12f9f..5dcf2c232c 100644 --- a/src/audio/audio_file_formats/juce_AudioFormatReader.h +++ b/src/audio/audio_file_formats/juce_AudioFormatReader.h @@ -222,7 +222,7 @@ private: String formatName; AudioFormatReader (const AudioFormatReader&); - const AudioFormatReader& operator= (const AudioFormatReader&); + AudioFormatReader& operator= (const AudioFormatReader&); }; diff --git a/src/audio/audio_file_formats/juce_AudioSubsectionReader.h b/src/audio/audio_file_formats/juce_AudioSubsectionReader.h index 60642bca0b..63bd525c61 100644 --- a/src/audio/audio_file_formats/juce_AudioSubsectionReader.h +++ b/src/audio/audio_file_formats/juce_AudioSubsectionReader.h @@ -87,7 +87,7 @@ private: const bool deleteSourceWhenDeleted; AudioSubsectionReader (const AudioSubsectionReader&); - const AudioSubsectionReader& operator= (const AudioSubsectionReader&); + AudioSubsectionReader& operator= (const AudioSubsectionReader&); }; #endif // __JUCE_AUDIOSUBSECTIONREADER_JUCEHEADER__ diff --git a/src/audio/audio_file_formats/juce_WavAudioFormat.cpp b/src/audio/audio_file_formats/juce_WavAudioFormat.cpp index 055730066d..2a225d0138 100644 --- a/src/audio/audio_file_formats/juce_WavAudioFormat.cpp +++ b/src/audio/audio_file_formats/juce_WavAudioFormat.cpp @@ -264,7 +264,7 @@ class WavAudioFormatReader : public AudioFormatReader static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); } WavAudioFormatReader (const WavAudioFormatReader&); - const WavAudioFormatReader& operator= (const WavAudioFormatReader&); + WavAudioFormatReader& operator= (const WavAudioFormatReader&); public: int64 bwavChunkStart, bwavSize; @@ -619,7 +619,7 @@ class WavAudioFormatWriter : public AudioFormatWriter static inline int chunkName (const char* const name) { return (int) ByteOrder::littleEndianInt (name); } WavAudioFormatWriter (const WavAudioFormatWriter&); - const WavAudioFormatWriter& operator= (const WavAudioFormatWriter&); + WavAudioFormatWriter& operator= (const WavAudioFormatWriter&); void writeHeader() { diff --git a/src/audio/audio_sources/juce_AudioFormatReaderSource.h b/src/audio/audio_sources/juce_AudioFormatReaderSource.h index b2b2defb0a..36e5d981a0 100644 --- a/src/audio/audio_sources/juce_AudioFormatReaderSource.h +++ b/src/audio/audio_sources/juce_AudioFormatReaderSource.h @@ -105,7 +105,7 @@ private: void readBufferSection (int start, int length, AudioSampleBuffer& buffer, int startSample); AudioFormatReaderSource (const AudioFormatReaderSource&); - const AudioFormatReaderSource& operator= (const AudioFormatReaderSource&); + AudioFormatReaderSource& operator= (const AudioFormatReaderSource&); }; diff --git a/src/audio/audio_sources/juce_AudioSourcePlayer.h b/src/audio/audio_sources/juce_AudioSourcePlayer.h index 81bca29a6c..377a989bfd 100644 --- a/src/audio/audio_sources/juce_AudioSourcePlayer.h +++ b/src/audio/audio_sources/juce_AudioSourcePlayer.h @@ -107,7 +107,7 @@ private: float lastGain, gain; AudioSourcePlayer (const AudioSourcePlayer&); - const AudioSourcePlayer& operator= (const AudioSourcePlayer&); + AudioSourcePlayer& operator= (const AudioSourcePlayer&); }; diff --git a/src/audio/audio_sources/juce_AudioTransportSource.h b/src/audio/audio_sources/juce_AudioTransportSource.h index 21c91f32f7..64f6bd2a5f 100644 --- a/src/audio/audio_sources/juce_AudioTransportSource.h +++ b/src/audio/audio_sources/juce_AudioTransportSource.h @@ -174,7 +174,7 @@ private: bool isPrepared, inputStreamEOF; AudioTransportSource (const AudioTransportSource&); - const AudioTransportSource& operator= (const AudioTransportSource&); + AudioTransportSource& operator= (const AudioTransportSource&); }; diff --git a/src/audio/audio_sources/juce_BufferingAudioSource.cpp b/src/audio/audio_sources/juce_BufferingAudioSource.cpp index 810229d033..f2aa94f818 100644 --- a/src/audio/audio_sources/juce_BufferingAudioSource.cpp +++ b/src/audio/audio_sources/juce_BufferingAudioSource.cpp @@ -115,7 +115,7 @@ private: } SharedBufferingAudioSourceThread (const SharedBufferingAudioSourceThread&); - const SharedBufferingAudioSourceThread& operator= (const SharedBufferingAudioSourceThread&); + SharedBufferingAudioSourceThread& operator= (const SharedBufferingAudioSourceThread&); }; juce_ImplementSingleton (SharedBufferingAudioSourceThread) diff --git a/src/audio/audio_sources/juce_BufferingAudioSource.h b/src/audio/audio_sources/juce_BufferingAudioSource.h index 7e33c665a1..17bc1192b4 100644 --- a/src/audio/audio_sources/juce_BufferingAudioSource.h +++ b/src/audio/audio_sources/juce_BufferingAudioSource.h @@ -105,7 +105,7 @@ private: void readBufferSection (int start, int length, int bufferOffset); BufferingAudioSource (const BufferingAudioSource&); - const BufferingAudioSource& operator= (const BufferingAudioSource&); + BufferingAudioSource& operator= (const BufferingAudioSource&); }; diff --git a/src/audio/audio_sources/juce_ChannelRemappingAudioSource.h b/src/audio/audio_sources/juce_ChannelRemappingAudioSource.h index b2f750b8ed..87ac8e6cb8 100644 --- a/src/audio/audio_sources/juce_ChannelRemappingAudioSource.h +++ b/src/audio/audio_sources/juce_ChannelRemappingAudioSource.h @@ -149,7 +149,7 @@ private: CriticalSection lock; ChannelRemappingAudioSource (const ChannelRemappingAudioSource&); - const ChannelRemappingAudioSource& operator= (const ChannelRemappingAudioSource&); + ChannelRemappingAudioSource& operator= (const ChannelRemappingAudioSource&); }; diff --git a/src/audio/audio_sources/juce_IIRFilterAudioSource.h b/src/audio/audio_sources/juce_IIRFilterAudioSource.h index cd642d4f7d..b6af48ad10 100644 --- a/src/audio/audio_sources/juce_IIRFilterAudioSource.h +++ b/src/audio/audio_sources/juce_IIRFilterAudioSource.h @@ -72,7 +72,7 @@ private: OwnedArray iirFilters; IIRFilterAudioSource (const IIRFilterAudioSource&); - const IIRFilterAudioSource& operator= (const IIRFilterAudioSource&); + IIRFilterAudioSource& operator= (const IIRFilterAudioSource&); }; diff --git a/src/audio/audio_sources/juce_MixerAudioSource.h b/src/audio/audio_sources/juce_MixerAudioSource.h index dfd4ff582d..17f5b23a20 100644 --- a/src/audio/audio_sources/juce_MixerAudioSource.h +++ b/src/audio/audio_sources/juce_MixerAudioSource.h @@ -119,7 +119,7 @@ private: int bufferSizeExpected; MixerAudioSource (const MixerAudioSource&); - const MixerAudioSource& operator= (const MixerAudioSource&); + MixerAudioSource& operator= (const MixerAudioSource&); }; diff --git a/src/audio/audio_sources/juce_ResamplingAudioSource.h b/src/audio/audio_sources/juce_ResamplingAudioSource.h index 00b777b97d..75d5a57929 100644 --- a/src/audio/audio_sources/juce_ResamplingAudioSource.h +++ b/src/audio/audio_sources/juce_ResamplingAudioSource.h @@ -99,7 +99,7 @@ private: void applyFilter (float* samples, int num, FilterState& fs); ResamplingAudioSource (const ResamplingAudioSource&); - const ResamplingAudioSource& operator= (const ResamplingAudioSource&); + ResamplingAudioSource& operator= (const ResamplingAudioSource&); }; diff --git a/src/audio/audio_sources/juce_ToneGeneratorAudioSource.h b/src/audio/audio_sources/juce_ToneGeneratorAudioSource.h index 94c45dfbc0..a0eda9d045 100644 --- a/src/audio/audio_sources/juce_ToneGeneratorAudioSource.h +++ b/src/audio/audio_sources/juce_ToneGeneratorAudioSource.h @@ -73,7 +73,7 @@ private: float amplitude; ToneGeneratorAudioSource (const ToneGeneratorAudioSource&); - const ToneGeneratorAudioSource& operator= (const ToneGeneratorAudioSource&); + ToneGeneratorAudioSource& operator= (const ToneGeneratorAudioSource&); }; diff --git a/src/audio/devices/juce_AudioDeviceManager.h b/src/audio/devices/juce_AudioDeviceManager.h index 8edd489422..61cbeed89e 100644 --- a/src/audio/devices/juce_AudioDeviceManager.h +++ b/src/audio/devices/juce_AudioDeviceManager.h @@ -494,7 +494,7 @@ private: AudioIODeviceType* findType (const String& inputName, const String& outputName); AudioDeviceManager (const AudioDeviceManager&); - const AudioDeviceManager& operator= (const AudioDeviceManager&); + AudioDeviceManager& operator= (const AudioDeviceManager&); }; #endif // __JUCE_AUDIODEVICEMANAGER_JUCEHEADER__ diff --git a/src/audio/devices/juce_AudioIODeviceType.h b/src/audio/devices/juce_AudioIODeviceType.h index 0debb1ed0d..86cc4ba495 100644 --- a/src/audio/devices/juce_AudioIODeviceType.h +++ b/src/audio/devices/juce_AudioIODeviceType.h @@ -138,7 +138,7 @@ private: String typeName; AudioIODeviceType (const AudioIODeviceType&); - const AudioIODeviceType& operator= (const AudioIODeviceType&); + AudioIODeviceType& operator= (const AudioIODeviceType&); }; diff --git a/src/audio/dsp/juce_AudioSampleBuffer.cpp b/src/audio/dsp/juce_AudioSampleBuffer.cpp index 3941249fb4..e525fbc99e 100644 --- a/src/audio/dsp/juce_AudioSampleBuffer.cpp +++ b/src/audio/dsp/juce_AudioSampleBuffer.cpp @@ -122,7 +122,7 @@ void AudioSampleBuffer::allocateChannels (float** const dataToReferTo) channels [numChannels] = 0; } -const AudioSampleBuffer& AudioSampleBuffer::operator= (const AudioSampleBuffer& other) throw() +AudioSampleBuffer& AudioSampleBuffer::operator= (const AudioSampleBuffer& other) throw() { if (this != &other) { diff --git a/src/audio/dsp/juce_AudioSampleBuffer.h b/src/audio/dsp/juce_AudioSampleBuffer.h index 5b1920e207..f57b588143 100644 --- a/src/audio/dsp/juce_AudioSampleBuffer.h +++ b/src/audio/dsp/juce_AudioSampleBuffer.h @@ -82,7 +82,7 @@ public: 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. diff --git a/src/audio/dsp/juce_IIRFilter.h b/src/audio/dsp/juce_IIRFilter.h index 03462ecd1b..334fb1857b 100644 --- a/src/audio/dsp/juce_IIRFilter.h +++ b/src/audio/dsp/juce_IIRFilter.h @@ -146,7 +146,7 @@ protected: float x1, x2, y1, y2; // (use the copyCoefficientsFrom() method instead of this operator) - const IIRFilter& operator= (const IIRFilter&); + IIRFilter& operator= (const IIRFilter&); }; diff --git a/src/audio/midi/juce_MidiBuffer.cpp b/src/audio/midi/juce_MidiBuffer.cpp index 4b93aa4f28..74c2f343e2 100644 --- a/src/audio/midi/juce_MidiBuffer.cpp +++ b/src/audio/midi/juce_MidiBuffer.cpp @@ -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; data = other.data; diff --git a/src/audio/midi/juce_MidiBuffer.h b/src/audio/midi/juce_MidiBuffer.h index 223dae6a6f..0b230c016b 100644 --- a/src/audio/midi/juce_MidiBuffer.h +++ b/src/audio/midi/juce_MidiBuffer.h @@ -53,7 +53,7 @@ public: MidiBuffer (const MidiBuffer& other) throw(); /** Makes a copy of another MidiBuffer. */ - const MidiBuffer& operator= (const MidiBuffer& other) throw(); + MidiBuffer& operator= (const MidiBuffer& other) throw(); /** Destructor */ ~MidiBuffer() throw(); @@ -217,7 +217,7 @@ public: const uint8* data; Iterator (const Iterator&); - const Iterator& operator= (const Iterator&); + Iterator& operator= (const Iterator&); }; diff --git a/src/audio/midi/juce_MidiFile.h b/src/audio/midi/juce_MidiFile.h index 5bbab8a5c0..51ee16c977 100644 --- a/src/audio/midi/juce_MidiFile.h +++ b/src/audio/midi/juce_MidiFile.h @@ -186,7 +186,7 @@ private: short timeFormat; MidiFile (const MidiFile&); - const MidiFile& operator= (const MidiFile&); + MidiFile& operator= (const MidiFile&); void readNextTrack (const char* data, int size); void writeTrack (OutputStream& mainOut, const int trackNum); diff --git a/src/audio/midi/juce_MidiKeyboardState.h b/src/audio/midi/juce_MidiKeyboardState.h index 307820f997..cc1944d7ba 100644 --- a/src/audio/midi/juce_MidiKeyboardState.h +++ b/src/audio/midi/juce_MidiKeyboardState.h @@ -207,7 +207,7 @@ private: void noteOffInternal (const int midiChannel, const int midiNoteNumber); MidiKeyboardState (const MidiKeyboardState&); - const MidiKeyboardState& operator= (const MidiKeyboardState&); + MidiKeyboardState& operator= (const MidiKeyboardState&); }; diff --git a/src/audio/midi/juce_MidiMessage.cpp b/src/audio/midi/juce_MidiMessage.cpp index 5d38de20e7..ffc90d6550 100644 --- a/src/audio/midi/juce_MidiMessage.cpp +++ b/src/audio/midi/juce_MidiMessage.cpp @@ -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) { diff --git a/src/audio/midi/juce_MidiMessage.h b/src/audio/midi/juce_MidiMessage.h index a83793fe3c..4a79a48826 100644 --- a/src/audio/midi/juce_MidiMessage.h +++ b/src/audio/midi/juce_MidiMessage.h @@ -111,7 +111,7 @@ public: ~MidiMessage() throw(); /** 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. diff --git a/src/audio/midi/juce_MidiMessageCollector.h b/src/audio/midi/juce_MidiMessageCollector.h index 6ec010726e..bf06045dd3 100644 --- a/src/audio/midi/juce_MidiMessageCollector.h +++ b/src/audio/midi/juce_MidiMessageCollector.h @@ -102,7 +102,7 @@ private: double sampleRate; MidiMessageCollector (const MidiMessageCollector&); - const MidiMessageCollector& operator= (const MidiMessageCollector&); + MidiMessageCollector& operator= (const MidiMessageCollector&); }; diff --git a/src/audio/plugins/formats/juce_AudioUnitPluginFormat.h b/src/audio/plugins/formats/juce_AudioUnitPluginFormat.h index f8b6b69fc8..7848904033 100644 --- a/src/audio/plugins/formats/juce_AudioUnitPluginFormat.h +++ b/src/audio/plugins/formats/juce_AudioUnitPluginFormat.h @@ -56,7 +56,7 @@ public: private: AudioUnitPluginFormat (const AudioUnitPluginFormat&); - const AudioUnitPluginFormat& operator= (const AudioUnitPluginFormat&); + AudioUnitPluginFormat& operator= (const AudioUnitPluginFormat&); }; #endif diff --git a/src/audio/plugins/formats/juce_VSTPluginFormat.h b/src/audio/plugins/formats/juce_VSTPluginFormat.h index 54993c1d90..00f0f3f489 100644 --- a/src/audio/plugins/formats/juce_VSTPluginFormat.h +++ b/src/audio/plugins/formats/juce_VSTPluginFormat.h @@ -57,7 +57,7 @@ public: private: VSTPluginFormat (const VSTPluginFormat&); - const VSTPluginFormat& operator= (const VSTPluginFormat&); + VSTPluginFormat& operator= (const VSTPluginFormat&); void recursiveFileSearch (StringArray& results, const File& dir, const bool recursive); }; diff --git a/src/audio/plugins/juce_AudioPluginFormat.h b/src/audio/plugins/juce_AudioPluginFormat.h index 38cb9ba580..1e20c8eb27 100644 --- a/src/audio/plugins/juce_AudioPluginFormat.h +++ b/src/audio/plugins/juce_AudioPluginFormat.h @@ -113,7 +113,7 @@ protected: AudioPluginFormat() throw(); AudioPluginFormat (const AudioPluginFormat&); - const AudioPluginFormat& operator= (const AudioPluginFormat&); + AudioPluginFormat& operator= (const AudioPluginFormat&); }; diff --git a/src/audio/plugins/juce_AudioPluginFormatManager.h b/src/audio/plugins/juce_AudioPluginFormatManager.h index 6ad4aad547..b56300d23d 100644 --- a/src/audio/plugins/juce_AudioPluginFormatManager.h +++ b/src/audio/plugins/juce_AudioPluginFormatManager.h @@ -99,7 +99,7 @@ private: OwnedArray formats; AudioPluginFormatManager (const AudioPluginFormatManager&); - const AudioPluginFormatManager& operator= (const AudioPluginFormatManager&); + AudioPluginFormatManager& operator= (const AudioPluginFormatManager&); }; diff --git a/src/audio/plugins/juce_AudioPluginInstance.h b/src/audio/plugins/juce_AudioPluginInstance.h index 8c91c9119d..1156601404 100644 --- a/src/audio/plugins/juce_AudioPluginInstance.h +++ b/src/audio/plugins/juce_AudioPluginInstance.h @@ -63,7 +63,7 @@ protected: AudioPluginInstance(); AudioPluginInstance (const AudioPluginInstance&); - const AudioPluginInstance& operator= (const AudioPluginInstance&); + AudioPluginInstance& operator= (const AudioPluginInstance&); }; diff --git a/src/audio/plugins/juce_KnownPluginList.h b/src/audio/plugins/juce_KnownPluginList.h index 3f24797543..2a8371f5e1 100644 --- a/src/audio/plugins/juce_KnownPluginList.h +++ b/src/audio/plugins/juce_KnownPluginList.h @@ -164,7 +164,7 @@ private: OwnedArray types; KnownPluginList (const KnownPluginList&); - const KnownPluginList& operator= (const KnownPluginList&); + KnownPluginList& operator= (const KnownPluginList&); }; diff --git a/src/audio/plugins/juce_PluginDescription.cpp b/src/audio/plugins/juce_PluginDescription.cpp index 6f6c3677eb..4a8c3c39b3 100644 --- a/src/audio/plugins/juce_PluginDescription.cpp +++ b/src/audio/plugins/juce_PluginDescription.cpp @@ -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; pluginFormatName = other.pluginFormatName; diff --git a/src/audio/plugins/juce_PluginDescription.h b/src/audio/plugins/juce_PluginDescription.h index ffe0b2b03d..d9849aa466 100644 --- a/src/audio/plugins/juce_PluginDescription.h +++ b/src/audio/plugins/juce_PluginDescription.h @@ -47,7 +47,7 @@ public: //============================================================================== PluginDescription() throw(); PluginDescription (const PluginDescription& other) throw(); - const PluginDescription& operator= (const PluginDescription& other) throw(); + PluginDescription& operator= (const PluginDescription& other) throw(); ~PluginDescription() throw(); //============================================================================== diff --git a/src/audio/plugins/juce_PluginDirectoryScanner.h b/src/audio/plugins/juce_PluginDirectoryScanner.h index f7c1f79c25..da7f9b3363 100644 --- a/src/audio/plugins/juce_PluginDirectoryScanner.h +++ b/src/audio/plugins/juce_PluginDirectoryScanner.h @@ -116,7 +116,7 @@ private: void setDeadMansPedalFile (const StringArray& newContents) throw(); PluginDirectoryScanner (const PluginDirectoryScanner&); - const PluginDirectoryScanner& operator= (const PluginDirectoryScanner&); + PluginDirectoryScanner& operator= (const PluginDirectoryScanner&); }; diff --git a/src/audio/plugins/juce_PluginListComponent.h b/src/audio/plugins/juce_PluginListComponent.h index 3a5143d0d0..96a065c5bc 100644 --- a/src/audio/plugins/juce_PluginListComponent.h +++ b/src/audio/plugins/juce_PluginListComponent.h @@ -94,7 +94,7 @@ private: void scanFor (AudioPluginFormat* format); PluginListComponent (const PluginListComponent&); - const PluginListComponent& operator= (const PluginListComponent&); + PluginListComponent& operator= (const PluginListComponent&); }; diff --git a/src/audio/processors/juce_AudioProcessor.h b/src/audio/processors/juce_AudioProcessor.h index c83cb23554..2d9ef3e1c6 100644 --- a/src/audio/processors/juce_AudioProcessor.h +++ b/src/audio/processors/juce_AudioProcessor.h @@ -583,7 +583,7 @@ private: #endif AudioProcessor (const AudioProcessor&); - const AudioProcessor& operator= (const AudioProcessor&); + AudioProcessor& operator= (const AudioProcessor&); }; diff --git a/src/audio/processors/juce_AudioProcessorGraph.cpp b/src/audio/processors/juce_AudioProcessorGraph.cpp index a115b0d62f..ec3a210d93 100644 --- a/src/audio/processors/juce_AudioProcessorGraph.cpp +++ b/src/audio/processors/juce_AudioProcessorGraph.cpp @@ -375,7 +375,7 @@ private: const int channelNum; ClearChannelOp (const ClearChannelOp&); - const ClearChannelOp& operator= (const ClearChannelOp&); + ClearChannelOp& operator= (const ClearChannelOp&); }; //============================================================================== @@ -398,7 +398,7 @@ private: const int srcChannelNum, dstChannelNum; CopyChannelOp (const CopyChannelOp&); - const CopyChannelOp& operator= (const CopyChannelOp&); + CopyChannelOp& operator= (const CopyChannelOp&); }; //============================================================================== @@ -421,7 +421,7 @@ private: const int srcChannelNum, dstChannelNum; AddChannelOp (const AddChannelOp&); - const AddChannelOp& operator= (const AddChannelOp&); + AddChannelOp& operator= (const AddChannelOp&); }; //============================================================================== @@ -443,7 +443,7 @@ private: const int bufferNum; ClearMidiBufferOp (const ClearMidiBufferOp&); - const ClearMidiBufferOp& operator= (const ClearMidiBufferOp&); + ClearMidiBufferOp& operator= (const ClearMidiBufferOp&); }; //============================================================================== @@ -466,7 +466,7 @@ private: const int srcBufferNum, dstBufferNum; CopyMidiBufferOp (const CopyMidiBufferOp&); - const CopyMidiBufferOp& operator= (const CopyMidiBufferOp&); + CopyMidiBufferOp& operator= (const CopyMidiBufferOp&); }; //============================================================================== @@ -490,7 +490,7 @@ private: const int srcBufferNum, dstBufferNum; AddMidiBufferOp (const AddMidiBufferOp&); - const AddMidiBufferOp& operator= (const AddMidiBufferOp&); + AddMidiBufferOp& operator= (const AddMidiBufferOp&); }; //============================================================================== @@ -537,7 +537,7 @@ private: int midiBufferToUse; ProcessBufferOp (const ProcessBufferOp&); - const ProcessBufferOp& operator= (const ProcessBufferOp&); + ProcessBufferOp& operator= (const ProcessBufferOp&); }; //============================================================================== @@ -957,7 +957,7 @@ private: } RenderingOpSequenceCalculator (const RenderingOpSequenceCalculator&); - const RenderingOpSequenceCalculator& operator= (const RenderingOpSequenceCalculator&); + RenderingOpSequenceCalculator& operator= (const RenderingOpSequenceCalculator&); }; } diff --git a/src/audio/processors/juce_AudioProcessorGraph.h b/src/audio/processors/juce_AudioProcessorGraph.h index f9cbd0a77b..80592a6c55 100644 --- a/src/audio/processors/juce_AudioProcessorGraph.h +++ b/src/audio/processors/juce_AudioProcessorGraph.h @@ -112,7 +112,7 @@ public: void unprepare(); Node (const Node&); - const Node& operator= (const Node&); + Node& operator= (const Node&); }; //============================================================================== @@ -363,7 +363,7 @@ public: AudioProcessorGraph* graph; AudioGraphIOProcessor (const AudioGraphIOProcessor&); - const AudioGraphIOProcessor& operator= (const AudioGraphIOProcessor&); + AudioGraphIOProcessor& operator= (const AudioGraphIOProcessor&); }; //============================================================================== @@ -430,7 +430,7 @@ private: const int recursionCheck) const; AudioProcessorGraph (const AudioProcessorGraph&); - const AudioProcessorGraph& operator= (const AudioProcessorGraph&); + AudioProcessorGraph& operator= (const AudioProcessorGraph&); }; diff --git a/src/audio/processors/juce_AudioProcessorPlayer.h b/src/audio/processors/juce_AudioProcessorPlayer.h index 1808b048e7..2937ab7e5d 100644 --- a/src/audio/processors/juce_AudioProcessorPlayer.h +++ b/src/audio/processors/juce_AudioProcessorPlayer.h @@ -106,7 +106,7 @@ private: MidiMessageCollector messageCollector; AudioProcessorPlayer (const AudioProcessorPlayer&); - const AudioProcessorPlayer& operator= (const AudioProcessorPlayer&); + AudioProcessorPlayer& operator= (const AudioProcessorPlayer&); }; diff --git a/src/audio/processors/juce_GenericAudioProcessorEditor.cpp b/src/audio/processors/juce_GenericAudioProcessorEditor.cpp index db1e715279..e83f38003c 100644 --- a/src/audio/processors/juce_GenericAudioProcessorEditor.cpp +++ b/src/audio/processors/juce_GenericAudioProcessorEditor.cpp @@ -121,11 +121,11 @@ private: const int index; ParamSlider (const ParamSlider&); - const ParamSlider& operator= (const ParamSlider&); + ParamSlider& operator= (const ParamSlider&); }; ProcessorParameterPropertyComp (const ProcessorParameterPropertyComp&); - const ProcessorParameterPropertyComp& operator= (const ProcessorParameterPropertyComp&); + ProcessorParameterPropertyComp& operator= (const ProcessorParameterPropertyComp&); }; diff --git a/src/audio/processors/juce_GenericAudioProcessorEditor.h b/src/audio/processors/juce_GenericAudioProcessorEditor.h index 125d6aac06..0a874f4262 100644 --- a/src/audio/processors/juce_GenericAudioProcessorEditor.h +++ b/src/audio/processors/juce_GenericAudioProcessorEditor.h @@ -59,7 +59,7 @@ private: PropertyPanel* panel; GenericAudioProcessorEditor (const GenericAudioProcessorEditor&); - const GenericAudioProcessorEditor& operator= (const GenericAudioProcessorEditor&); + GenericAudioProcessorEditor& operator= (const GenericAudioProcessorEditor&); }; diff --git a/src/audio/synthesisers/juce_Synthesiser.h b/src/audio/synthesisers/juce_Synthesiser.h index a917014899..aaf3f23452 100644 --- a/src/audio/synthesisers/juce_Synthesiser.h +++ b/src/audio/synthesisers/juce_Synthesiser.h @@ -477,7 +477,7 @@ private: bool shouldStealNotes; Synthesiser (const Synthesiser&); - const Synthesiser& operator= (const Synthesiser&); + Synthesiser& operator= (const Synthesiser&); }; diff --git a/src/containers/juce_HeapBlock.h b/src/containers/juce_HeapBlock.h index 8216857584..6c289668dd 100644 --- a/src/containers/juce_HeapBlock.h +++ b/src/containers/juce_HeapBlock.h @@ -235,7 +235,7 @@ private: ElementType* data; HeapBlock (const HeapBlock&); - const HeapBlock& operator= (const HeapBlock&); + HeapBlock& operator= (const HeapBlock&); }; diff --git a/src/containers/juce_PropertySet.cpp b/src/containers/juce_PropertySet.cpp index ee2ae6db72..c71692db91 100644 --- a/src/containers/juce_PropertySet.cpp +++ b/src/containers/juce_PropertySet.cpp @@ -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; fallbackProperties = other.fallbackProperties; diff --git a/src/containers/juce_PropertySet.h b/src/containers/juce_PropertySet.h index 466e273ab0..5176154948 100644 --- a/src/containers/juce_PropertySet.h +++ b/src/containers/juce_PropertySet.h @@ -57,7 +57,7 @@ public: /** Copies another PropertySet over this one. */ - const PropertySet& operator= (const PropertySet& other) throw(); + PropertySet& operator= (const PropertySet& other) throw(); /** Destructor. */ virtual ~PropertySet(); diff --git a/src/containers/juce_ReferenceCountedObject.h b/src/containers/juce_ReferenceCountedObject.h index 6590a253d0..9b6a692188 100644 --- a/src/containers/juce_ReferenceCountedObject.h +++ b/src/containers/juce_ReferenceCountedObject.h @@ -163,7 +163,7 @@ public: 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. */ - const ReferenceCountedObjectPtr& operator= (const ReferenceCountedObjectPtr& other) + ReferenceCountedObjectPtr& operator= (const ReferenceCountedObjectPtr& other) { ReferenceCountedObjectClass* const newObject = other.referencedObject; @@ -187,7 +187,7 @@ public: 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. */ - const ReferenceCountedObjectPtr& operator= (ReferenceCountedObjectClass* const newObject) + ReferenceCountedObjectPtr& operator= (ReferenceCountedObjectClass* const newObject) { if (referencedObject != newObject) { diff --git a/src/containers/juce_ScopedPointer.h b/src/containers/juce_ScopedPointer.h index 9ee1f8ccc6..eb9783ba58 100644 --- a/src/containers/juce_ScopedPointer.h +++ b/src/containers/juce_ScopedPointer.h @@ -86,7 +86,7 @@ public: If this ScopedPointer already points to an object, that object will first be deleted. */ - const ScopedPointer& operator= (ScopedPointer& objectToTransferFrom) + ScopedPointer& operator= (ScopedPointer& objectToTransferFrom) { if (this != objectToTransferFrom.getAddress()) { @@ -110,7 +110,7 @@ public: The pointer that you pass is may be null. */ - const ScopedPointer& operator= (ObjectType* const newObjectToTakePossessionOf) + ScopedPointer& operator= (ObjectType* const newObjectToTakePossessionOf) { if (object != newObjectToTakePossessionOf) { diff --git a/src/containers/juce_Value.cpp b/src/containers/juce_Value.cpp index 2884542c75..90fd94a4bc 100644 --- a/src/containers/juce_Value.cpp +++ b/src/containers/juce_Value.cpp @@ -96,7 +96,7 @@ private: var value; 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; return *this; @@ -150,7 +150,7 @@ const String Value::toString() const return value->getValue().toString(); } -const Value& Value::operator= (const var& newValue) +Value& Value::operator= (const var& newValue) { value->setValue (newValue); return *this; diff --git a/src/containers/juce_Value.h b/src/containers/juce_Value.h index f96c0d1cbb..a30d230b1f 100644 --- a/src/containers/juce_Value.h +++ b/src/containers/juce_Value.h @@ -98,7 +98,7 @@ public: If there are any listeners registered, they will be notified of the 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. @@ -202,7 +202,7 @@ public: void handleAsyncUpdate(); 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 // do a by-value or by-reference copy. - const Value& operator= (const Value& other); + Value& operator= (const Value& other); }; diff --git a/src/containers/juce_ValueTree.cpp b/src/containers/juce_ValueTree.cpp index 0063739b55..e689d86580 100644 --- a/src/containers/juce_ValueTree.cpp +++ b/src/containers/juce_ValueTree.cpp @@ -81,7 +81,7 @@ private: const bool isAddingNewProperty, isDeletingProperty; ValueTreeSetPropertyAction (const ValueTreeSetPropertyAction&); - const ValueTreeSetPropertyAction& operator= (const ValueTreeSetPropertyAction&); + ValueTreeSetPropertyAction& operator= (const ValueTreeSetPropertyAction&); }; //============================================================================== @@ -131,7 +131,7 @@ private: const bool isDeleting; 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) { @@ -579,7 +579,7 @@ private: const var::identifier property; UndoManager* const undoManager; - const ValueTreePropertyValueSource& operator= (const ValueTreePropertyValueSource&); + ValueTreePropertyValueSource& operator= (const ValueTreePropertyValueSource&); }; Value ValueTree::getPropertyAsValue (const var::identifier& name, UndoManager* const undoManager) const diff --git a/src/containers/juce_ValueTree.h b/src/containers/juce_ValueTree.h index 4ad181b1e9..521382077e 100644 --- a/src/containers/juce_ValueTree.h +++ b/src/containers/juce_ValueTree.h @@ -82,7 +82,7 @@ public: ValueTree (const ValueTree& other); /** Makes this object reference another node. */ - const ValueTree& operator= (const ValueTree& other); + ValueTree& operator= (const ValueTree& other); /** Destructor. */ ~ValueTree(); @@ -417,7 +417,7 @@ private: juce_UseDebuggingNewOperator private: - const SharedObject& operator= (const SharedObject&); + SharedObject& operator= (const SharedObject&); }; template diff --git a/src/core/juce_FileLogger.h b/src/core/juce_FileLogger.h index 8d477a9028..c8ef044f6d 100644 --- a/src/core/juce_FileLogger.h +++ b/src/core/juce_FileLogger.h @@ -105,7 +105,7 @@ private: void trimFileSize (int maxFileSizeBytes) const; FileLogger (const FileLogger&); - const FileLogger& operator= (const FileLogger&); + FileLogger& operator= (const FileLogger&); }; diff --git a/src/core/juce_PlatformUtilities.h b/src/core/juce_PlatformUtilities.h index cda33d6e58..6674d5f5e3 100644 --- a/src/core/juce_PlatformUtilities.h +++ b/src/core/juce_PlatformUtilities.h @@ -213,7 +213,7 @@ private: void* pool; ScopedAutoReleasePool (const ScopedAutoReleasePool&); - const ScopedAutoReleasePool& operator= (const ScopedAutoReleasePool&); + ScopedAutoReleasePool& operator= (const ScopedAutoReleasePool&); }; #endif @@ -327,7 +327,7 @@ private: bool open (const bool openInExclusiveMode); AppleRemoteDevice (const AppleRemoteDevice&); - const AppleRemoteDevice& operator= (const AppleRemoteDevice&); + AppleRemoteDevice& operator= (const AppleRemoteDevice&); }; #endif diff --git a/src/core/juce_RelativeTime.cpp b/src/core/juce_RelativeTime.cpp index ac7cec9544..7c26a7e3f6 100644 --- a/src/core/juce_RelativeTime.cpp +++ b/src/core/juce_RelativeTime.cpp @@ -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; return *this; diff --git a/src/core/juce_RelativeTime.h b/src/core/juce_RelativeTime.h index 40a0d5b4b0..d0287506a9 100644 --- a/src/core/juce_RelativeTime.h +++ b/src/core/juce_RelativeTime.h @@ -52,7 +52,7 @@ public: RelativeTime (const RelativeTime& other) throw(); /** Copies another relative time. */ - const RelativeTime& operator= (const RelativeTime& other) throw(); + RelativeTime& operator= (const RelativeTime& other) throw(); /** Destructor. */ ~RelativeTime() throw(); diff --git a/src/core/juce_Time.cpp b/src/core/juce_Time.cpp index 23e9c84921..1112027a48 100644 --- a/src/core/juce_Time.cpp +++ b/src/core/juce_Time.cpp @@ -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; return *this; diff --git a/src/core/juce_Time.h b/src/core/juce_Time.h index 7fc7bf3bba..2f19f7c9f1 100644 --- a/src/core/juce_Time.h +++ b/src/core/juce_Time.h @@ -93,7 +93,7 @@ public: ~Time() throw(); /** 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. diff --git a/src/cryptography/juce_BlowFish.cpp b/src/cryptography/juce_BlowFish.cpp index c787eeab41..7272c1bbb7 100644 --- a/src/cryptography/juce_BlowFish.cpp +++ b/src/cryptography/juce_BlowFish.cpp @@ -360,7 +360,7 @@ BlowFish::BlowFish (const BlowFish& other) operator= (other); } -const BlowFish& BlowFish::operator= (const BlowFish& other) +BlowFish& BlowFish::operator= (const BlowFish& other) { memcpy (p, other.p, sizeof (p)); diff --git a/src/cryptography/juce_BlowFish.h b/src/cryptography/juce_BlowFish.h index eaa8d03641..293c2f256b 100644 --- a/src/cryptography/juce_BlowFish.h +++ b/src/cryptography/juce_BlowFish.h @@ -48,7 +48,7 @@ public: BlowFish (const BlowFish& other); /** Copies another blowfish object. */ - const BlowFish& operator= (const BlowFish& other); + BlowFish& operator= (const BlowFish& other); /** Destructor. */ ~BlowFish(); diff --git a/src/cryptography/juce_MD5.cpp b/src/cryptography/juce_MD5.cpp index 34cf645bde..5273f393be 100644 --- a/src/cryptography/juce_MD5.cpp +++ b/src/cryptography/juce_MD5.cpp @@ -44,7 +44,7 @@ MD5::MD5 (const MD5& other) 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)); return *this; diff --git a/src/cryptography/juce_MD5.h b/src/cryptography/juce_MD5.h index c4220eefc0..bf4424d156 100644 --- a/src/cryptography/juce_MD5.h +++ b/src/cryptography/juce_MD5.h @@ -51,7 +51,7 @@ public: MD5 (const MD5& other); /** Copies another MD5. */ - const MD5& operator= (const MD5& other); + MD5& operator= (const MD5& other); //============================================================================== /** Creates a checksum for a block of binary data. */ diff --git a/src/events/juce_ActionBroadcaster.h b/src/events/juce_ActionBroadcaster.h index b231c88b69..2648faf079 100644 --- a/src/events/juce_ActionBroadcaster.h +++ b/src/events/juce_ActionBroadcaster.h @@ -76,7 +76,7 @@ private: ActionListenerList actionListenerList; ActionBroadcaster (const ActionBroadcaster&); - const ActionBroadcaster& operator= (const ActionBroadcaster&); + ActionBroadcaster& operator= (const ActionBroadcaster&); }; diff --git a/src/events/juce_ActionListenerList.cpp b/src/events/juce_ActionListenerList.cpp index 4e221e0882..8bbd0cca61 100644 --- a/src/events/juce_ActionListenerList.cpp +++ b/src/events/juce_ActionListenerList.cpp @@ -52,7 +52,7 @@ public: private: ActionMessage (const ActionMessage&); - const ActionMessage& operator= (const ActionMessage&); + ActionMessage& operator= (const ActionMessage&); }; //============================================================================== diff --git a/src/events/juce_ActionListenerList.h b/src/events/juce_ActionListenerList.h index bbf49baceb..d32151ffe7 100644 --- a/src/events/juce_ActionListenerList.h +++ b/src/events/juce_ActionListenerList.h @@ -89,7 +89,7 @@ private: CriticalSection actionListenerLock_; ActionListenerList (const ActionListenerList&); - const ActionListenerList& operator= (const ActionListenerList&); + ActionListenerList& operator= (const ActionListenerList&); }; diff --git a/src/events/juce_AsyncUpdater.h b/src/events/juce_AsyncUpdater.h index b7da432b5c..486d32f827 100644 --- a/src/events/juce_AsyncUpdater.h +++ b/src/events/juce_AsyncUpdater.h @@ -105,7 +105,7 @@ private: private: AsyncUpdaterInternal (const AsyncUpdaterInternal&); - const AsyncUpdaterInternal& operator= (const AsyncUpdaterInternal&); + AsyncUpdaterInternal& operator= (const AsyncUpdaterInternal&); }; AsyncUpdaterInternal internalAsyncHandler; diff --git a/src/events/juce_CallbackMessage.h b/src/events/juce_CallbackMessage.h index 88c0f2bd8f..b2f88f0b69 100644 --- a/src/events/juce_CallbackMessage.h +++ b/src/events/juce_CallbackMessage.h @@ -75,7 +75,7 @@ public: private: CallbackMessage (const CallbackMessage&); - const CallbackMessage& operator= (const CallbackMessage&); + CallbackMessage& operator= (const CallbackMessage&); }; diff --git a/src/events/juce_ChangeBroadcaster.h b/src/events/juce_ChangeBroadcaster.h index f8c577fc34..041aab7288 100644 --- a/src/events/juce_ChangeBroadcaster.h +++ b/src/events/juce_ChangeBroadcaster.h @@ -91,7 +91,7 @@ private: ChangeListenerList changeListenerList; ChangeBroadcaster (const ChangeBroadcaster&); - const ChangeBroadcaster& operator= (const ChangeBroadcaster&); + ChangeBroadcaster& operator= (const ChangeBroadcaster&); }; diff --git a/src/events/juce_ChangeListenerList.h b/src/events/juce_ChangeListenerList.h index 737df5b793..c2245e216c 100644 --- a/src/events/juce_ChangeListenerList.h +++ b/src/events/juce_ChangeListenerList.h @@ -112,7 +112,7 @@ private: bool messagePending; ChangeListenerList (const ChangeListenerList&); - const ChangeListenerList& operator= (const ChangeListenerList&); + ChangeListenerList& operator= (const ChangeListenerList&); }; diff --git a/src/events/juce_InterprocessConnection.h b/src/events/juce_InterprocessConnection.h index 62e47fdd52..cf9e273fff 100644 --- a/src/events/juce_InterprocessConnection.h +++ b/src/events/juce_InterprocessConnection.h @@ -210,7 +210,7 @@ private: void run(); InterprocessConnection (const InterprocessConnection&); - const InterprocessConnection& operator= (const InterprocessConnection&); + InterprocessConnection& operator= (const InterprocessConnection&); }; #endif // __JUCE_INTERPROCESSCONNECTION_JUCEHEADER__ diff --git a/src/events/juce_InterprocessConnectionServer.h b/src/events/juce_InterprocessConnectionServer.h index f01cfde6ae..9ff4c92ceb 100644 --- a/src/events/juce_InterprocessConnectionServer.h +++ b/src/events/juce_InterprocessConnectionServer.h @@ -93,7 +93,7 @@ private: void run(); InterprocessConnectionServer (const InterprocessConnectionServer&); - const InterprocessConnectionServer& operator= (const InterprocessConnectionServer&); + InterprocessConnectionServer& operator= (const InterprocessConnectionServer&); }; diff --git a/src/events/juce_Message.h b/src/events/juce_Message.h index ea59a390d5..decfd0690e 100644 --- a/src/events/juce_Message.h +++ b/src/events/juce_Message.h @@ -80,7 +80,7 @@ private: MessageListener* messageRecipient; Message (const Message&); - const Message& operator= (const Message&); + Message& operator= (const Message&); }; diff --git a/src/events/juce_MessageManager.h b/src/events/juce_MessageManager.h index c4307e0ae7..90cf4ba3ed 100644 --- a/src/events/juce_MessageManager.h +++ b/src/events/juce_MessageManager.h @@ -196,7 +196,7 @@ private: CriticalSection lockingLock; MessageManager (const MessageManager&); - const MessageManager& operator= (const MessageManager&); + MessageManager& operator= (const MessageManager&); }; diff --git a/src/events/juce_MultiTimer.h b/src/events/juce_MultiTimer.h index 1a9d9f8530..410f29bf19 100644 --- a/src/events/juce_MultiTimer.h +++ b/src/events/juce_MultiTimer.h @@ -126,7 +126,7 @@ private: CriticalSection timerListLock; OwnedArray timers; - const MultiTimer& operator= (const MultiTimer&); + MultiTimer& operator= (const MultiTimer&); }; #endif // __JUCE_MULTITIMER_JUCEHEADER__ diff --git a/src/events/juce_Timer.h b/src/events/juce_Timer.h index bbe61ccbef..ff7622079c 100644 --- a/src/events/juce_Timer.h +++ b/src/events/juce_Timer.h @@ -124,7 +124,7 @@ private: Timer* previous; Timer* next; - const Timer& operator= (const Timer&); + Timer& operator= (const Timer&); }; #endif // __JUCE_TIMER_JUCEHEADER__ diff --git a/src/gui/components/buttons/juce_ArrowButton.h b/src/gui/components/buttons/juce_ArrowButton.h index 8a3755bd5f..33815fef38 100644 --- a/src/gui/components/buttons/juce_ArrowButton.h +++ b/src/gui/components/buttons/juce_ArrowButton.h @@ -75,7 +75,7 @@ private: int offset; ArrowButton (const ArrowButton&); - const ArrowButton& operator= (const ArrowButton&); + ArrowButton& operator= (const ArrowButton&); }; diff --git a/src/gui/components/buttons/juce_Button.h b/src/gui/components/buttons/juce_Button.h index 67c776a958..8e476538b5 100644 --- a/src/gui/components/buttons/juce_Button.h +++ b/src/gui/components/buttons/juce_Button.h @@ -503,7 +503,7 @@ private: void sendStateMessage(); Button (const Button&); - const Button& operator= (const Button&); + Button& operator= (const Button&); }; diff --git a/src/gui/components/buttons/juce_DrawableButton.h b/src/gui/components/buttons/juce_DrawableButton.h index 649730a5d6..dcca5f8d85 100644 --- a/src/gui/components/buttons/juce_DrawableButton.h +++ b/src/gui/components/buttons/juce_DrawableButton.h @@ -172,7 +172,7 @@ private: void deleteImages(); DrawableButton (const DrawableButton&); - const DrawableButton& operator= (const DrawableButton&); + DrawableButton& operator= (const DrawableButton&); }; diff --git a/src/gui/components/buttons/juce_HyperlinkButton.h b/src/gui/components/buttons/juce_HyperlinkButton.h index 9b0b7127b6..f3687ab9d8 100644 --- a/src/gui/components/buttons/juce_HyperlinkButton.h +++ b/src/gui/components/buttons/juce_HyperlinkButton.h @@ -114,7 +114,7 @@ private: const Font getFontToUse() const; HyperlinkButton (const HyperlinkButton&); - const HyperlinkButton& operator= (const HyperlinkButton&); + HyperlinkButton& operator= (const HyperlinkButton&); }; #endif // __JUCE_HYPERLINKBUTTON_JUCEHEADER__ diff --git a/src/gui/components/buttons/juce_ImageButton.h b/src/gui/components/buttons/juce_ImageButton.h index 2ed5cd5d9a..6b6f7e8f46 100644 --- a/src/gui/components/buttons/juce_ImageButton.h +++ b/src/gui/components/buttons/juce_ImageButton.h @@ -163,7 +163,7 @@ private: void deleteImages(); ImageButton (const ImageButton&); - const ImageButton& operator= (const ImageButton&); + ImageButton& operator= (const ImageButton&); }; diff --git a/src/gui/components/buttons/juce_ShapeButton.h b/src/gui/components/buttons/juce_ShapeButton.h index e7b8f2055f..b76ec3c2c1 100644 --- a/src/gui/components/buttons/juce_ShapeButton.h +++ b/src/gui/components/buttons/juce_ShapeButton.h @@ -106,7 +106,7 @@ private: float outlineWidth; ShapeButton (const ShapeButton&); - const ShapeButton& operator= (const ShapeButton&); + ShapeButton& operator= (const ShapeButton&); }; diff --git a/src/gui/components/buttons/juce_TextButton.h b/src/gui/components/buttons/juce_TextButton.h index c6bdb66946..352248f511 100644 --- a/src/gui/components/buttons/juce_TextButton.h +++ b/src/gui/components/buttons/juce_TextButton.h @@ -101,7 +101,7 @@ protected: private: TextButton (const TextButton&); - const TextButton& operator= (const TextButton&); + TextButton& operator= (const TextButton&); }; diff --git a/src/gui/components/buttons/juce_ToggleButton.h b/src/gui/components/buttons/juce_ToggleButton.h index def0f011a8..51df63f4b2 100644 --- a/src/gui/components/buttons/juce_ToggleButton.h +++ b/src/gui/components/buttons/juce_ToggleButton.h @@ -88,7 +88,7 @@ protected: private: //============================================================================== ToggleButton (const ToggleButton&); - const ToggleButton& operator= (const ToggleButton&); + ToggleButton& operator= (const ToggleButton&); }; diff --git a/src/gui/components/buttons/juce_ToolbarButton.h b/src/gui/components/buttons/juce_ToolbarButton.h index a2dd73cfb7..daffbd5aad 100644 --- a/src/gui/components/buttons/juce_ToolbarButton.h +++ b/src/gui/components/buttons/juce_ToolbarButton.h @@ -84,7 +84,7 @@ private: ScopedPointer normalImage, toggledOnImage; ToolbarButton (const ToolbarButton&); - const ToolbarButton& operator= (const ToolbarButton&); + ToolbarButton& operator= (const ToolbarButton&); }; diff --git a/src/gui/components/code_editor/juce_CodeDocument.cpp b/src/gui/components/code_editor/juce_CodeDocument.cpp index 150658c1c8..44308bcc96 100644 --- a/src/gui/components/code_editor/juce_CodeDocument.cpp +++ b/src/gui/components/code_editor/juce_CodeDocument.cpp @@ -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; currentLine = other.currentLine; @@ -241,7 +241,7 @@ CodeDocument::Position::~Position() throw() setPositionMaintained (false); } -const CodeDocument::Position& CodeDocument::Position::operator= (const Position& other) throw() +CodeDocument::Position& CodeDocument::Position::operator= (const Position& other) throw() { if (this != &other) { @@ -733,7 +733,7 @@ class CodeDocumentInsertAction : public UndoableAction int insertPos; CodeDocumentInsertAction (const CodeDocumentInsertAction&); - const CodeDocumentInsertAction& operator= (const CodeDocumentInsertAction&); + CodeDocumentInsertAction& operator= (const CodeDocumentInsertAction&); public: CodeDocumentInsertAction (CodeDocument& owner_, const String& text_, const int insertPos_) throw() @@ -839,7 +839,7 @@ class CodeDocumentDeleteAction : public UndoableAction String removedText; CodeDocumentDeleteAction (const CodeDocumentDeleteAction&); - const CodeDocumentDeleteAction& operator= (const CodeDocumentDeleteAction&); + CodeDocumentDeleteAction& operator= (const CodeDocumentDeleteAction&); public: CodeDocumentDeleteAction (CodeDocument& owner_, const int startPos_, const int endPos_) throw() diff --git a/src/gui/components/code_editor/juce_CodeDocument.h b/src/gui/components/code_editor/juce_CodeDocument.h index edd9776e70..9bada18011 100644 --- a/src/gui/components/code_editor/juce_CodeDocument.h +++ b/src/gui/components/code_editor/juce_CodeDocument.h @@ -105,7 +105,7 @@ public: /** Destructor. */ ~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(); @@ -341,7 +341,7 @@ public: public: Iterator (CodeDocument* const document); Iterator (const Iterator& other); - const Iterator& operator= (const Iterator& other) throw(); + Iterator& operator= (const Iterator& other) throw(); ~Iterator() throw(); /** Reads the next character and returns it. @@ -402,7 +402,7 @@ private: void checkLastLineStatus(); CodeDocument (const CodeDocument&); - const CodeDocument& operator= (const CodeDocument&); + CodeDocument& operator= (const CodeDocument&); }; diff --git a/src/gui/components/code_editor/juce_CodeEditorComponent.h b/src/gui/components/code_editor/juce_CodeEditorComponent.h index 0e81a77d32..781eaa4175 100644 --- a/src/gui/components/code_editor/juce_CodeEditorComponent.h +++ b/src/gui/components/code_editor/juce_CodeEditorComponent.h @@ -297,7 +297,7 @@ private: int columnToIndex (int line, int column) const throw(); CodeEditorComponent (const CodeEditorComponent&); - const CodeEditorComponent& operator= (const CodeEditorComponent&); + CodeEditorComponent& operator= (const CodeEditorComponent&); }; diff --git a/src/gui/components/controls/juce_ComboBox.h b/src/gui/components/controls/juce_ComboBox.h index 852d852b4d..67ee48536f 100644 --- a/src/gui/components/controls/juce_ComboBox.h +++ b/src/gui/components/controls/juce_ComboBox.h @@ -402,7 +402,7 @@ private: ItemInfo* getItemForIndex (const int index) const throw(); ComboBox (const ComboBox&); - const ComboBox& operator= (const ComboBox&); + ComboBox& operator= (const ComboBox&); }; #endif // __JUCE_COMBOBOX_JUCEHEADER__ diff --git a/src/gui/components/controls/juce_Label.h b/src/gui/components/controls/juce_Label.h index f1e74817ca..9b15c07022 100644 --- a/src/gui/components/controls/juce_Label.h +++ b/src/gui/components/controls/juce_Label.h @@ -342,7 +342,7 @@ private: void callChangeListeners(); Label (const Label&); - const Label& operator= (const Label&); + Label& operator= (const Label&); }; diff --git a/src/gui/components/controls/juce_ListBox.cpp b/src/gui/components/controls/juce_ListBox.cpp index cde341f4ca..0aa46f08b3 100644 --- a/src/gui/components/controls/juce_ListBox.cpp +++ b/src/gui/components/controls/juce_ListBox.cpp @@ -167,7 +167,7 @@ private: bool selected, isDragging, selectRowOnMouseUp; ListBoxRowComponent (const ListBoxRowComponent&); - const ListBoxRowComponent& operator= (const ListBoxRowComponent&); + ListBoxRowComponent& operator= (const ListBoxRowComponent&); }; @@ -325,7 +325,7 @@ private: ListBox& owner; ListViewport (const ListViewport&); - const ListViewport& operator= (const ListViewport&); + ListViewport& operator= (const ListViewport&); }; diff --git a/src/gui/components/controls/juce_ListBox.h b/src/gui/components/controls/juce_ListBox.h index 08c14766b5..08d3ea9b3d 100644 --- a/src/gui/components/controls/juce_ListBox.h +++ b/src/gui/components/controls/juce_ListBox.h @@ -582,7 +582,7 @@ private: bool isMouseClick); ListBox (const ListBox&); - const ListBox& operator= (const ListBox&); + ListBox& operator= (const ListBox&); }; diff --git a/src/gui/components/controls/juce_ProgressBar.h b/src/gui/components/controls/juce_ProgressBar.h index 761c957f4e..5bddd72ff7 100644 --- a/src/gui/components/controls/juce_ProgressBar.h +++ b/src/gui/components/controls/juce_ProgressBar.h @@ -118,7 +118,7 @@ private: void timerCallback(); ProgressBar (const ProgressBar&); - const ProgressBar& operator= (const ProgressBar&); + ProgressBar& operator= (const ProgressBar&); }; diff --git a/src/gui/components/controls/juce_Slider.cpp b/src/gui/components/controls/juce_Slider.cpp index f179b757fb..36ee4d5e6a 100644 --- a/src/gui/components/controls/juce_Slider.cpp +++ b/src/gui/components/controls/juce_Slider.cpp @@ -85,7 +85,7 @@ private: String text; SliderPopupDisplayComponent (const SliderPopupDisplayComponent&); - const SliderPopupDisplayComponent& operator= (const SliderPopupDisplayComponent&); + SliderPopupDisplayComponent& operator= (const SliderPopupDisplayComponent&); }; //============================================================================== diff --git a/src/gui/components/controls/juce_Slider.h b/src/gui/components/controls/juce_Slider.h index 293b4b4d7d..ebf974b1a0 100644 --- a/src/gui/components/controls/juce_Slider.h +++ b/src/gui/components/controls/juce_Slider.h @@ -792,7 +792,7 @@ private: bool incDecDragDirectionIsHorizontal() const; Slider (const Slider&); - const Slider& operator= (const Slider&); + Slider& operator= (const Slider&); }; diff --git a/src/gui/components/controls/juce_TableHeaderComponent.cpp b/src/gui/components/controls/juce_TableHeaderComponent.cpp index 4e7e063d01..23232041c6 100644 --- a/src/gui/components/controls/juce_TableHeaderComponent.cpp +++ b/src/gui/components/controls/juce_TableHeaderComponent.cpp @@ -58,7 +58,7 @@ private: ScopedPointer image; DragOverlayComp (const DragOverlayComp&); - const DragOverlayComp& operator= (const DragOverlayComp&); + DragOverlayComp& operator= (const DragOverlayComp&); }; diff --git a/src/gui/components/controls/juce_TableHeaderComponent.h b/src/gui/components/controls/juce_TableHeaderComponent.h index 35e0557272..59de80600d 100644 --- a/src/gui/components/controls/juce_TableHeaderComponent.h +++ b/src/gui/components/controls/juce_TableHeaderComponent.h @@ -430,7 +430,7 @@ private: void resizeColumnsToFit (int firstColumnIndex, int targetTotalWidth); TableHeaderComponent (const TableHeaderComponent&); - const TableHeaderComponent operator= (const TableHeaderComponent&); + TableHeaderComponent operator= (const TableHeaderComponent&); }; diff --git a/src/gui/components/controls/juce_TableListBox.cpp b/src/gui/components/controls/juce_TableListBox.cpp index 5b440ee993..cb9e3fcf98 100644 --- a/src/gui/components/controls/juce_TableListBox.cpp +++ b/src/gui/components/controls/juce_TableListBox.cpp @@ -259,7 +259,7 @@ private: } TableListRowComp (const TableListRowComp&); - const TableListRowComp& operator= (const TableListRowComp&); + TableListRowComp& operator= (const TableListRowComp&); }; @@ -310,7 +310,7 @@ private: TableListBox& owner; TableListBoxHeader (const TableListBoxHeader&); - const TableListBoxHeader& operator= (const TableListBoxHeader&); + TableListBoxHeader& operator= (const TableListBoxHeader&); }; //============================================================================== diff --git a/src/gui/components/controls/juce_TableListBox.h b/src/gui/components/controls/juce_TableListBox.h index 64c6aa9bf3..69d6887796 100644 --- a/src/gui/components/controls/juce_TableListBox.h +++ b/src/gui/components/controls/juce_TableListBox.h @@ -319,7 +319,7 @@ private: void updateColumnComponents() const; TableListBox (const TableListBox&); - const TableListBox& operator= (const TableListBox&); + TableListBox& operator= (const TableListBox&); }; diff --git a/src/gui/components/controls/juce_TextEditor.cpp b/src/gui/components/controls/juce_TextEditor.cpp index 7b06fc5bf7..7ae40440b7 100644 --- a/src/gui/components/controls/juce_TextEditor.cpp +++ b/src/gui/components/controls/juce_TextEditor.cpp @@ -328,7 +328,7 @@ private: } } - const UniformTextSection& operator= (const UniformTextSection& other); + UniformTextSection& operator= (const UniformTextSection& other); }; //============================================================================== @@ -732,7 +732,7 @@ private: const tchar passwordCharacter; TextAtom tempAtom; - const TextEditorIterator& operator= (const TextEditorIterator&); + TextEditorIterator& operator= (const TextEditorIterator&); void moveToEndOfLastAtom() { @@ -765,7 +765,7 @@ class TextEditorInsertAction : public UndoableAction const Colour colour; TextEditorInsertAction (const TextEditorInsertAction&); - const TextEditorInsertAction& operator= (const TextEditorInsertAction&); + TextEditorInsertAction& operator= (const TextEditorInsertAction&); public: TextEditorInsertAction (TextEditor& owner_, @@ -816,7 +816,7 @@ class TextEditorRemoveAction : public UndoableAction VoidArray removedSections; TextEditorRemoveAction (const TextEditorRemoveAction&); - const TextEditorRemoveAction& operator= (const TextEditorRemoveAction&); + TextEditorRemoveAction& operator= (const TextEditorRemoveAction&); public: TextEditorRemoveAction (TextEditor& owner_, @@ -877,7 +877,7 @@ class TextHolderComponent : public Component, TextEditor& owner; TextHolderComponent (const TextHolderComponent&); - const TextHolderComponent& operator= (const TextHolderComponent&); + TextHolderComponent& operator= (const TextHolderComponent&); public: TextHolderComponent (TextEditor& owner_) @@ -922,7 +922,7 @@ class TextEditorViewport : public Viewport float lastWordWrapWidth; TextEditorViewport (const TextEditorViewport&); - const TextEditorViewport& operator= (const TextEditorViewport&); + TextEditorViewport& operator= (const TextEditorViewport&); public: TextEditorViewport (TextEditor* const owner_) diff --git a/src/gui/components/controls/juce_TextEditor.h b/src/gui/components/controls/juce_TextEditor.h index 50db9fc494..5b3672479f 100644 --- a/src/gui/components/controls/juce_TextEditor.h +++ b/src/gui/components/controls/juce_TextEditor.h @@ -700,7 +700,7 @@ private: void repaintText (const Range& range); TextEditor (const TextEditor&); - const TextEditor& operator= (const TextEditor&); + TextEditor& operator= (const TextEditor&); }; #endif // __JUCE_TEXTEDITOR_JUCEHEADER__ diff --git a/src/gui/components/controls/juce_Toolbar.cpp b/src/gui/components/controls/juce_Toolbar.cpp index 727b2bc340..dfeb4b30b4 100644 --- a/src/gui/components/controls/juce_Toolbar.cpp +++ b/src/gui/components/controls/juce_Toolbar.cpp @@ -168,7 +168,7 @@ private: const bool drawBar; ToolbarSpacerComp (const ToolbarSpacerComp&); - const ToolbarSpacerComp& operator= (const ToolbarSpacerComp&); + ToolbarSpacerComp& operator= (const ToolbarSpacerComp&); }; //============================================================================== @@ -263,7 +263,7 @@ private: Array oldIndexes; MissingItemsComponent (const MissingItemsComponent&); - const MissingItemsComponent& operator= (const MissingItemsComponent&); + MissingItemsComponent& operator= (const MissingItemsComponent&); }; diff --git a/src/gui/components/controls/juce_Toolbar.h b/src/gui/components/controls/juce_Toolbar.h index ca57ff2215..85f7a3b5ee 100644 --- a/src/gui/components/controls/juce_Toolbar.h +++ b/src/gui/components/controls/juce_Toolbar.h @@ -310,7 +310,7 @@ private: ToolbarItemComponent* getNextActiveComponent (int index, const int delta) const; Toolbar (const Toolbar&); - const Toolbar& operator= (const Toolbar&); + Toolbar& operator= (const Toolbar&); }; diff --git a/src/gui/components/controls/juce_ToolbarItemComponent.cpp b/src/gui/components/controls/juce_ToolbarItemComponent.cpp index 79f9e5f67a..f78c2bc81a 100644 --- a/src/gui/components/controls/juce_ToolbarItemComponent.cpp +++ b/src/gui/components/controls/juce_ToolbarItemComponent.cpp @@ -141,7 +141,7 @@ private: bool isDragging; ItemDragAndDropOverlayComponent (const ItemDragAndDropOverlayComponent&); - const ItemDragAndDropOverlayComponent& operator= (const ItemDragAndDropOverlayComponent&); + ItemDragAndDropOverlayComponent& operator= (const ItemDragAndDropOverlayComponent&); }; diff --git a/src/gui/components/controls/juce_ToolbarItemComponent.h b/src/gui/components/controls/juce_ToolbarItemComponent.h index 07a5ccc8e3..f76bdcd565 100644 --- a/src/gui/components/controls/juce_ToolbarItemComponent.h +++ b/src/gui/components/controls/juce_ToolbarItemComponent.h @@ -206,7 +206,7 @@ private: Rectangle contentArea; ToolbarItemComponent (const ToolbarItemComponent&); - const ToolbarItemComponent& operator= (const ToolbarItemComponent&); + ToolbarItemComponent& operator= (const ToolbarItemComponent&); }; diff --git a/src/gui/components/controls/juce_ToolbarItemPalette.h b/src/gui/components/controls/juce_ToolbarItemPalette.h index bba1a04e9d..11657ed459 100644 --- a/src/gui/components/controls/juce_ToolbarItemPalette.h +++ b/src/gui/components/controls/juce_ToolbarItemPalette.h @@ -74,7 +74,7 @@ private: void replaceComponent (ToolbarItemComponent* const comp); ToolbarItemPalette (const ToolbarItemPalette&); - const ToolbarItemPalette& operator= (const ToolbarItemPalette&); + ToolbarItemPalette& operator= (const ToolbarItemPalette&); }; diff --git a/src/gui/components/controls/juce_TreeView.cpp b/src/gui/components/controls/juce_TreeView.cpp index d647b3de14..0e3880e940 100644 --- a/src/gui/components/controls/juce_TreeView.cpp +++ b/src/gui/components/controls/juce_TreeView.cpp @@ -328,7 +328,7 @@ private: bool isDragging, needSelectionOnMouseUp; TreeViewContentComponent (const TreeViewContentComponent&); - const TreeViewContentComponent& operator= (const TreeViewContentComponent&); + TreeViewContentComponent& operator= (const TreeViewContentComponent&); void selectBasedOnModifiers (TreeViewItem* const item, const ModifierKeys& modifiers) { @@ -396,7 +396,7 @@ public: private: TreeViewport (const TreeViewport&); - const TreeViewport& operator= (const TreeViewport&); + TreeViewport& operator= (const TreeViewport&); }; diff --git a/src/gui/components/controls/juce_TreeView.h b/src/gui/components/controls/juce_TreeView.h index 44b4010bac..150e423724 100644 --- a/src/gui/components/controls/juce_TreeView.h +++ b/src/gui/components/controls/juce_TreeView.h @@ -493,7 +493,7 @@ private: TreeViewItem* findItemFromIdentifierString (const String& identifierString); TreeViewItem (const TreeViewItem&); - const TreeViewItem& operator= (const TreeViewItem&); + TreeViewItem& operator= (const TreeViewItem&); }; @@ -778,7 +778,7 @@ private: Component* sourceComponent) const throw(); TreeView (const TreeView&); - const TreeView& operator= (const TreeView&); + TreeView& operator= (const TreeView&); }; #endif // __JUCE_TREEVIEW_JUCEHEADER__ diff --git a/src/gui/components/filebrowser/juce_DirectoryContentsDisplayComponent.h b/src/gui/components/filebrowser/juce_DirectoryContentsDisplayComponent.h index dd1e710cc8..6ea066221c 100644 --- a/src/gui/components/filebrowser/juce_DirectoryContentsDisplayComponent.h +++ b/src/gui/components/filebrowser/juce_DirectoryContentsDisplayComponent.h @@ -106,7 +106,7 @@ protected: SortedSet listeners; DirectoryContentsDisplayComponent (const DirectoryContentsDisplayComponent&); - const DirectoryContentsDisplayComponent& operator= (const DirectoryContentsDisplayComponent&); + DirectoryContentsDisplayComponent& operator= (const DirectoryContentsDisplayComponent&); }; diff --git a/src/gui/components/filebrowser/juce_DirectoryContentsList.h b/src/gui/components/filebrowser/juce_DirectoryContentsList.h index 54a7294612..8e2fb99c91 100644 --- a/src/gui/components/filebrowser/juce_DirectoryContentsList.h +++ b/src/gui/components/filebrowser/juce_DirectoryContentsList.h @@ -213,7 +213,7 @@ private: const Time& creationTime, const bool isReadOnly); DirectoryContentsList (const DirectoryContentsList&); - const DirectoryContentsList& operator= (const DirectoryContentsList&); + DirectoryContentsList& operator= (const DirectoryContentsList&); }; diff --git a/src/gui/components/filebrowser/juce_FileBrowserComponent.h b/src/gui/components/filebrowser/juce_FileBrowserComponent.h index 68f207d0fa..bc93df2ebd 100644 --- a/src/gui/components/filebrowser/juce_FileBrowserComponent.h +++ b/src/gui/components/filebrowser/juce_FileBrowserComponent.h @@ -227,7 +227,7 @@ private: bool isFileOrDirSuitable (const File& f) const; FileBrowserComponent (const FileBrowserComponent&); - const FileBrowserComponent& operator= (const FileBrowserComponent&); + FileBrowserComponent& operator= (const FileBrowserComponent&); }; diff --git a/src/gui/components/filebrowser/juce_FileChooserDialogBox.h b/src/gui/components/filebrowser/juce_FileChooserDialogBox.h index a94db6b4e5..f360974f7b 100644 --- a/src/gui/components/filebrowser/juce_FileChooserDialogBox.h +++ b/src/gui/components/filebrowser/juce_FileChooserDialogBox.h @@ -156,7 +156,7 @@ private: const bool warnAboutOverwritingExistingFiles; FileChooserDialogBox (const FileChooserDialogBox&); - const FileChooserDialogBox& operator= (const FileChooserDialogBox&); + FileChooserDialogBox& operator= (const FileChooserDialogBox&); }; diff --git a/src/gui/components/filebrowser/juce_FileListComponent.h b/src/gui/components/filebrowser/juce_FileListComponent.h index ef2c8152e9..cae6b60876 100644 --- a/src/gui/components/filebrowser/juce_FileListComponent.h +++ b/src/gui/components/filebrowser/juce_FileListComponent.h @@ -94,7 +94,7 @@ public: private: FileListComponent (const FileListComponent&); - const FileListComponent& operator= (const FileListComponent&); + FileListComponent& operator= (const FileListComponent&); File lastDirectory; }; diff --git a/src/gui/components/filebrowser/juce_FilePreviewComponent.h b/src/gui/components/filebrowser/juce_FilePreviewComponent.h index e1b3aaebb8..9887fd6c73 100644 --- a/src/gui/components/filebrowser/juce_FilePreviewComponent.h +++ b/src/gui/components/filebrowser/juce_FilePreviewComponent.h @@ -65,7 +65,7 @@ public: private: FilePreviewComponent (const FilePreviewComponent&); - const FilePreviewComponent& operator= (const FilePreviewComponent&); + FilePreviewComponent& operator= (const FilePreviewComponent&); }; diff --git a/src/gui/components/filebrowser/juce_FileSearchPathListComponent.h b/src/gui/components/filebrowser/juce_FileSearchPathListComponent.h index 220ec31ff4..c4552875b7 100644 --- a/src/gui/components/filebrowser/juce_FileSearchPathListComponent.h +++ b/src/gui/components/filebrowser/juce_FileSearchPathListComponent.h @@ -124,7 +124,7 @@ private: void updateButtons() throw(); FileSearchPathListComponent (const FileSearchPathListComponent&); - const FileSearchPathListComponent& operator= (const FileSearchPathListComponent&); + FileSearchPathListComponent& operator= (const FileSearchPathListComponent&); }; diff --git a/src/gui/components/filebrowser/juce_FileTreeComponent.h b/src/gui/components/filebrowser/juce_FileTreeComponent.h index e32073782a..b0d0717256 100644 --- a/src/gui/components/filebrowser/juce_FileTreeComponent.h +++ b/src/gui/components/filebrowser/juce_FileTreeComponent.h @@ -87,7 +87,7 @@ private: String dragAndDropDescription; FileTreeComponent (const FileTreeComponent&); - const FileTreeComponent& operator= (const FileTreeComponent&); + FileTreeComponent& operator= (const FileTreeComponent&); }; diff --git a/src/gui/components/filebrowser/juce_FilenameComponent.h b/src/gui/components/filebrowser/juce_FilenameComponent.h index a2bb5d42d1..25f81b1ffd 100644 --- a/src/gui/components/filebrowser/juce_FilenameComponent.h +++ b/src/gui/components/filebrowser/juce_FilenameComponent.h @@ -217,7 +217,7 @@ private: void handleAsyncUpdate(); FilenameComponent (const FilenameComponent&); - const FilenameComponent& operator= (const FilenameComponent&); + FilenameComponent& operator= (const FilenameComponent&); }; diff --git a/src/gui/components/filebrowser/juce_ImagePreviewComponent.h b/src/gui/components/filebrowser/juce_ImagePreviewComponent.h index e02c1f07ef..01829c4e52 100644 --- a/src/gui/components/filebrowser/juce_ImagePreviewComponent.h +++ b/src/gui/components/filebrowser/juce_ImagePreviewComponent.h @@ -66,7 +66,7 @@ private: void getThumbSize (int& w, int& h) const; ImagePreviewComponent (const ImagePreviewComponent&); - const ImagePreviewComponent& operator= (const ImagePreviewComponent&); + ImagePreviewComponent& operator= (const ImagePreviewComponent&); }; diff --git a/src/gui/components/juce_Component.cpp b/src/gui/components/juce_Component.cpp index 732bfdf5ea..851099ef6d 100644 --- a/src/gui/components/juce_Component.cpp +++ b/src/gui/components/juce_Component.cpp @@ -345,7 +345,7 @@ private: float scale, scaleChangePerMs; FadeOutProxyComponent (const FadeOutProxyComponent&); - const FadeOutProxyComponent& operator= (const FadeOutProxyComponent&); + FadeOutProxyComponent& operator= (const FadeOutProxyComponent&); }; void Component::fadeOutComponent (const int millisecondsToFade, diff --git a/src/gui/components/juce_Component.h b/src/gui/components/juce_Component.h index 6ff7f12569..cbdef12ff1 100644 --- a/src/gui/components/juce_Component.h +++ b/src/gui/components/juce_Component.h @@ -2020,7 +2020,7 @@ private: // this one to avoid compiler warnings. Component (const Component&); - const Component& operator= (const Component&); + Component& operator= (const Component&); // (dummy method to cause a deliberate compile error - if you hit this, you need to update your // subclass to use the new parameters to keyStateChanged) diff --git a/src/gui/components/juce_ComponentDeletionWatcher.h b/src/gui/components/juce_ComponentDeletionWatcher.h index 7b317391ba..e846624414 100644 --- a/src/gui/components/juce_ComponentDeletionWatcher.h +++ b/src/gui/components/juce_ComponentDeletionWatcher.h @@ -67,7 +67,7 @@ private: const uint32 componentUID; ComponentDeletionWatcher (const ComponentDeletionWatcher&); - const ComponentDeletionWatcher& operator= (const ComponentDeletionWatcher&); + ComponentDeletionWatcher& operator= (const ComponentDeletionWatcher&); }; diff --git a/src/gui/components/juce_Desktop.h b/src/gui/components/juce_Desktop.h index 187ee658d2..80e3d42f04 100644 --- a/src/gui/components/juce_Desktop.h +++ b/src/gui/components/juce_Desktop.h @@ -287,7 +287,7 @@ private: void handleAsyncUpdate(); Desktop (const Desktop&); - const Desktop& operator= (const Desktop&); + Desktop& operator= (const Desktop&); }; diff --git a/src/gui/components/keyboard/juce_KeyMappingEditorComponent.cpp b/src/gui/components/keyboard/juce_KeyMappingEditorComponent.cpp index 059dfad1aa..9127fef16a 100644 --- a/src/gui/components/keyboard/juce_KeyMappingEditorComponent.cpp +++ b/src/gui/components/keyboard/juce_KeyMappingEditorComponent.cpp @@ -121,7 +121,7 @@ private: const int keyNum; KeyMappingChangeButton (const KeyMappingChangeButton&); - const KeyMappingChangeButton& operator= (const KeyMappingChangeButton&); + KeyMappingChangeButton& operator= (const KeyMappingChangeButton&); }; //============================================================================== @@ -192,7 +192,7 @@ private: const CommandID commandID; KeyMappingItemComponent (const KeyMappingItemComponent&); - const KeyMappingItemComponent& operator= (const KeyMappingItemComponent&); + KeyMappingItemComponent& operator= (const KeyMappingItemComponent&); }; //============================================================================== @@ -226,7 +226,7 @@ private: const CommandID commandID; KeyMappingTreeViewItem (const KeyMappingTreeViewItem&); - const KeyMappingTreeViewItem& operator= (const KeyMappingTreeViewItem&); + KeyMappingTreeViewItem& operator= (const KeyMappingTreeViewItem&); }; @@ -287,7 +287,7 @@ private: String categoryName; KeyCategoryTreeViewItem (const KeyCategoryTreeViewItem&); - const KeyCategoryTreeViewItem& operator= (const KeyCategoryTreeViewItem&); + KeyCategoryTreeViewItem& operator= (const KeyCategoryTreeViewItem&); }; @@ -462,7 +462,7 @@ private: KeyMappingEditorComponent* owner; KeyEntryWindow (const KeyEntryWindow&); - const KeyEntryWindow& operator= (const KeyEntryWindow&); + KeyEntryWindow& operator= (const KeyEntryWindow&); }; diff --git a/src/gui/components/keyboard/juce_KeyMappingEditorComponent.h b/src/gui/components/keyboard/juce_KeyMappingEditorComponent.h index a4fd5b05df..e39067310a 100644 --- a/src/gui/components/keyboard/juce_KeyMappingEditorComponent.h +++ b/src/gui/components/keyboard/juce_KeyMappingEditorComponent.h @@ -144,7 +144,7 @@ private: void assignNewKey (const CommandID commandID, int index); KeyMappingEditorComponent (const KeyMappingEditorComponent&); - const KeyMappingEditorComponent& operator= (const KeyMappingEditorComponent&); + KeyMappingEditorComponent& operator= (const KeyMappingEditorComponent&); }; diff --git a/src/gui/components/keyboard/juce_KeyPress.cpp b/src/gui/components/keyboard/juce_KeyPress.cpp index 5223c754ee..72a20e5df7 100644 --- a/src/gui/components/keyboard/juce_KeyPress.cpp +++ b/src/gui/components/keyboard/juce_KeyPress.cpp @@ -61,7 +61,7 @@ KeyPress::KeyPress (const KeyPress& other) throw() { } -const KeyPress& KeyPress::operator= (const KeyPress& other) throw() +KeyPress& KeyPress::operator= (const KeyPress& other) throw() { keyCode = other.keyCode; mods = other.mods; diff --git a/src/gui/components/keyboard/juce_KeyPress.h b/src/gui/components/keyboard/juce_KeyPress.h index ce5e3782ba..62502fba05 100644 --- a/src/gui/components/keyboard/juce_KeyPress.h +++ b/src/gui/components/keyboard/juce_KeyPress.h @@ -79,7 +79,7 @@ public: KeyPress (const KeyPress& other) throw(); /** Copies this KeyPress from another one. */ - const KeyPress& operator= (const KeyPress& other) throw(); + KeyPress& operator= (const KeyPress& other) throw(); /** Compares two KeyPress objects. */ bool operator== (const KeyPress& other) const throw(); diff --git a/src/gui/components/keyboard/juce_KeyPressMappingSet.h b/src/gui/components/keyboard/juce_KeyPressMappingSet.h index f7644a3715..5ba08fe5ed 100644 --- a/src/gui/components/keyboard/juce_KeyPressMappingSet.h +++ b/src/gui/components/keyboard/juce_KeyPressMappingSet.h @@ -262,7 +262,7 @@ private: const int millisecsSinceKeyPressed, Component* const originatingComponent) const; - const KeyPressMappingSet& operator= (const KeyPressMappingSet&); + KeyPressMappingSet& operator= (const KeyPressMappingSet&); }; diff --git a/src/gui/components/keyboard/juce_ModifierKeys.cpp b/src/gui/components/keyboard/juce_ModifierKeys.cpp index 5407e23a75..f4d3294de5 100644 --- a/src/gui/components/keyboard/juce_ModifierKeys.cpp +++ b/src/gui/components/keyboard/juce_ModifierKeys.cpp @@ -41,7 +41,7 @@ ModifierKeys::ModifierKeys (const ModifierKeys& other) throw() { } -const ModifierKeys& ModifierKeys::operator= (const ModifierKeys& other) throw() +ModifierKeys& ModifierKeys::operator= (const ModifierKeys& other) throw() { flags = other.flags; return *this; diff --git a/src/gui/components/keyboard/juce_ModifierKeys.h b/src/gui/components/keyboard/juce_ModifierKeys.h index d21ce80197..47d4418d73 100644 --- a/src/gui/components/keyboard/juce_ModifierKeys.h +++ b/src/gui/components/keyboard/juce_ModifierKeys.h @@ -52,7 +52,7 @@ public: ModifierKeys (const ModifierKeys& other) throw(); /** Copies this object from another one. */ - const ModifierKeys& operator= (const ModifierKeys& other) throw(); + ModifierKeys& operator= (const ModifierKeys& other) throw(); //============================================================================== /** Checks whether the 'command' key flag is set (or 'ctrl' on Windows/Linux). diff --git a/src/gui/components/layout/juce_ComponentBoundsConstrainer.h b/src/gui/components/layout/juce_ComponentBoundsConstrainer.h index b1a304bc65..9133499e2c 100644 --- a/src/gui/components/layout/juce_ComponentBoundsConstrainer.h +++ b/src/gui/components/layout/juce_ComponentBoundsConstrainer.h @@ -186,7 +186,7 @@ private: double aspectRatio; ComponentBoundsConstrainer (const ComponentBoundsConstrainer&); - const ComponentBoundsConstrainer& operator= (const ComponentBoundsConstrainer&); + ComponentBoundsConstrainer& operator= (const ComponentBoundsConstrainer&); }; diff --git a/src/gui/components/layout/juce_ComponentMovementWatcher.h b/src/gui/components/layout/juce_ComponentMovementWatcher.h index a5c906da59..5b00690e11 100644 --- a/src/gui/components/layout/juce_ComponentMovementWatcher.h +++ b/src/gui/components/layout/juce_ComponentMovementWatcher.h @@ -90,7 +90,7 @@ private: void registerWithParentComps() throw(); ComponentMovementWatcher (const ComponentMovementWatcher&); - const ComponentMovementWatcher& operator= (const ComponentMovementWatcher&); + ComponentMovementWatcher& operator= (const ComponentMovementWatcher&); }; diff --git a/src/gui/components/layout/juce_GroupComponent.h b/src/gui/components/layout/juce_GroupComponent.h index 894d9e6ba8..48abe8a71e 100644 --- a/src/gui/components/layout/juce_GroupComponent.h +++ b/src/gui/components/layout/juce_GroupComponent.h @@ -98,7 +98,7 @@ private: Justification justification; GroupComponent (const GroupComponent&); - const GroupComponent& operator= (const GroupComponent&); + GroupComponent& operator= (const GroupComponent&); }; diff --git a/src/gui/components/layout/juce_ResizableBorderComponent.h b/src/gui/components/layout/juce_ResizableBorderComponent.h index c895cc7f37..bf60f2f940 100644 --- a/src/gui/components/layout/juce_ResizableBorderComponent.h +++ b/src/gui/components/layout/juce_ResizableBorderComponent.h @@ -116,7 +116,7 @@ private: void updateMouseZone (const MouseEvent& e) throw(); ResizableBorderComponent (const ResizableBorderComponent&); - const ResizableBorderComponent& operator= (const ResizableBorderComponent&); + ResizableBorderComponent& operator= (const ResizableBorderComponent&); }; diff --git a/src/gui/components/layout/juce_ResizableCornerComponent.h b/src/gui/components/layout/juce_ResizableCornerComponent.h index b44f265468..e5ea5bb620 100644 --- a/src/gui/components/layout/juce_ResizableCornerComponent.h +++ b/src/gui/components/layout/juce_ResizableCornerComponent.h @@ -90,7 +90,7 @@ private: int originalX, originalY, originalW, originalH; ResizableCornerComponent (const ResizableCornerComponent&); - const ResizableCornerComponent& operator= (const ResizableCornerComponent&); + ResizableCornerComponent& operator= (const ResizableCornerComponent&); }; diff --git a/src/gui/components/layout/juce_ScrollBar.cpp b/src/gui/components/layout/juce_ScrollBar.cpp index dd9a554bd0..822315189b 100644 --- a/src/gui/components/layout/juce_ScrollBar.cpp +++ b/src/gui/components/layout/juce_ScrollBar.cpp @@ -75,7 +75,7 @@ private: ScrollBar& owner; ScrollbarButton (const ScrollbarButton&); - const ScrollbarButton& operator= (const ScrollbarButton&); + ScrollbarButton& operator= (const ScrollbarButton&); }; diff --git a/src/gui/components/layout/juce_ScrollBar.h b/src/gui/components/layout/juce_ScrollBar.h index cf196e07fd..da2aa6f0c2 100644 --- a/src/gui/components/layout/juce_ScrollBar.h +++ b/src/gui/components/layout/juce_ScrollBar.h @@ -299,7 +299,7 @@ private: void timerCallback(); ScrollBar (const ScrollBar&); - const ScrollBar& operator= (const ScrollBar&); + ScrollBar& operator= (const ScrollBar&); }; diff --git a/src/gui/components/layout/juce_StretchableLayoutManager.h b/src/gui/components/layout/juce_StretchableLayoutManager.h index d5fe565d7a..57314aa3a4 100644 --- a/src/gui/components/layout/juce_StretchableLayoutManager.h +++ b/src/gui/components/layout/juce_StretchableLayoutManager.h @@ -267,7 +267,7 @@ private: void updatePrefSizesToMatchCurrentPositions(); StretchableLayoutManager (const StretchableLayoutManager&); - const StretchableLayoutManager& operator= (const StretchableLayoutManager&); + StretchableLayoutManager& operator= (const StretchableLayoutManager&); }; diff --git a/src/gui/components/layout/juce_StretchableLayoutResizerBar.h b/src/gui/components/layout/juce_StretchableLayoutResizerBar.h index b11b39c455..e74f6c06cb 100644 --- a/src/gui/components/layout/juce_StretchableLayoutResizerBar.h +++ b/src/gui/components/layout/juce_StretchableLayoutResizerBar.h @@ -94,7 +94,7 @@ private: bool isVertical; StretchableLayoutResizerBar (const StretchableLayoutResizerBar&); - const StretchableLayoutResizerBar& operator= (const StretchableLayoutResizerBar&); + StretchableLayoutResizerBar& operator= (const StretchableLayoutResizerBar&); }; diff --git a/src/gui/components/layout/juce_StretchableObjectResizer.h b/src/gui/components/layout/juce_StretchableObjectResizer.h index ed559674dc..c7642043f4 100644 --- a/src/gui/components/layout/juce_StretchableObjectResizer.h +++ b/src/gui/components/layout/juce_StretchableObjectResizer.h @@ -100,7 +100,7 @@ private: OwnedArray items; StretchableObjectResizer (const StretchableObjectResizer&); - const StretchableObjectResizer& operator= (const StretchableObjectResizer&); + StretchableObjectResizer& operator= (const StretchableObjectResizer&); }; diff --git a/src/gui/components/layout/juce_TabbedButtonBar.cpp b/src/gui/components/layout/juce_TabbedButtonBar.cpp index d1fcf41bc5..3b7b6872f4 100644 --- a/src/gui/components/layout/juce_TabbedButtonBar.cpp +++ b/src/gui/components/layout/juce_TabbedButtonBar.cpp @@ -169,7 +169,7 @@ private: TabbedButtonBar* const owner; TabAreaBehindFrontButtonComponent (const TabAreaBehindFrontButtonComponent&); - const TabAreaBehindFrontButtonComponent& operator= (const TabAreaBehindFrontButtonComponent&); + TabAreaBehindFrontButtonComponent& operator= (const TabAreaBehindFrontButtonComponent&); }; diff --git a/src/gui/components/layout/juce_TabbedButtonBar.h b/src/gui/components/layout/juce_TabbedButtonBar.h index 05c055dd9b..67f8602bca 100644 --- a/src/gui/components/layout/juce_TabbedButtonBar.h +++ b/src/gui/components/layout/juce_TabbedButtonBar.h @@ -85,7 +85,7 @@ protected: private: TabBarButton (const TabBarButton&); - const TabBarButton& operator= (const TabBarButton&); + TabBarButton& operator= (const TabBarButton&); }; @@ -289,7 +289,7 @@ private: Button* extraTabsButton; TabbedButtonBar (const TabbedButtonBar&); - const TabbedButtonBar& operator= (const TabbedButtonBar&); + TabbedButtonBar& operator= (const TabbedButtonBar&); }; diff --git a/src/gui/components/layout/juce_TabbedComponent.cpp b/src/gui/components/layout/juce_TabbedComponent.cpp index 7971378e1c..40a860aaa3 100644 --- a/src/gui/components/layout/juce_TabbedComponent.cpp +++ b/src/gui/components/layout/juce_TabbedComponent.cpp @@ -74,7 +74,7 @@ private: TabbedComponent* const owner; TabCompButtonBar (const TabCompButtonBar&); - const TabCompButtonBar& operator= (const TabCompButtonBar&); + TabCompButtonBar& operator= (const TabCompButtonBar&); }; diff --git a/src/gui/components/layout/juce_TabbedComponent.h b/src/gui/components/layout/juce_TabbedComponent.h index 304773b4cd..e380fb62f7 100644 --- a/src/gui/components/layout/juce_TabbedComponent.h +++ b/src/gui/components/layout/juce_TabbedComponent.h @@ -239,7 +239,7 @@ private: void changeCallback (const int newCurrentTabIndex, const String& newTabName); TabbedComponent (const TabbedComponent&); - const TabbedComponent& operator= (const TabbedComponent&); + TabbedComponent& operator= (const TabbedComponent&); }; diff --git a/src/gui/components/layout/juce_Viewport.h b/src/gui/components/layout/juce_Viewport.h index 01fe2fae70..12027935db 100644 --- a/src/gui/components/layout/juce_Viewport.h +++ b/src/gui/components/layout/juce_Viewport.h @@ -253,7 +253,7 @@ private: void updateVisibleRegion(); Viewport (const Viewport&); - const Viewport& operator= (const Viewport&); + Viewport& operator= (const Viewport&); }; diff --git a/src/gui/components/lookandfeel/juce_LookAndFeel.cpp b/src/gui/components/lookandfeel/juce_LookAndFeel.cpp index d7d0544cb9..0c708bfe9e 100644 --- a/src/gui/components/lookandfeel/juce_LookAndFeel.cpp +++ b/src/gui/components/lookandfeel/juce_LookAndFeel.cpp @@ -1891,7 +1891,7 @@ private: Path normalShape, toggledShape; GlassWindowButton (const GlassWindowButton&); - const GlassWindowButton& operator= (const GlassWindowButton&); + GlassWindowButton& operator= (const GlassWindowButton&); }; Button* LookAndFeel::createDocumentWindowButton (int buttonType) diff --git a/src/gui/components/lookandfeel/juce_LookAndFeel.h b/src/gui/components/lookandfeel/juce_LookAndFeel.h index 42694e4c1c..4df25e1b70 100644 --- a/src/gui/components/lookandfeel/juce_LookAndFeel.h +++ b/src/gui/components/lookandfeel/juce_LookAndFeel.h @@ -655,7 +655,7 @@ private: const bool flatOnBottom) throw(); LookAndFeel (const LookAndFeel&); - const LookAndFeel& operator= (const LookAndFeel&); + LookAndFeel& operator= (const LookAndFeel&); }; diff --git a/src/gui/components/lookandfeel/juce_OldSchoolLookAndFeel.h b/src/gui/components/lookandfeel/juce_OldSchoolLookAndFeel.h index e3cc4c2a50..d55df2d203 100644 --- a/src/gui/components/lookandfeel/juce_OldSchoolLookAndFeel.h +++ b/src/gui/components/lookandfeel/juce_OldSchoolLookAndFeel.h @@ -155,7 +155,7 @@ private: DropShadowEffect scrollbarShadow; OldSchoolLookAndFeel (const OldSchoolLookAndFeel&); - const OldSchoolLookAndFeel& operator= (const OldSchoolLookAndFeel&); + OldSchoolLookAndFeel& operator= (const OldSchoolLookAndFeel&); }; diff --git a/src/gui/components/menus/juce_MenuBarComponent.cpp b/src/gui/components/menus/juce_MenuBarComponent.cpp index 13cb1929ce..c7b80b7df6 100644 --- a/src/gui/components/menus/juce_MenuBarComponent.cpp +++ b/src/gui/components/menus/juce_MenuBarComponent.cpp @@ -36,7 +36,7 @@ BEGIN_JUCE_NAMESPACE class DummyMenuComponent : public Component { DummyMenuComponent (const DummyMenuComponent&); - const DummyMenuComponent& operator= (const DummyMenuComponent&); + DummyMenuComponent& operator= (const DummyMenuComponent&); public: DummyMenuComponent() {} diff --git a/src/gui/components/menus/juce_MenuBarComponent.h b/src/gui/components/menus/juce_MenuBarComponent.h index 69e5b0454c..f7f17b16d3 100644 --- a/src/gui/components/menus/juce_MenuBarComponent.h +++ b/src/gui/components/menus/juce_MenuBarComponent.h @@ -118,7 +118,7 @@ private: void repaintMenuItem (int index); MenuBarComponent (const MenuBarComponent&); - const MenuBarComponent& operator= (const MenuBarComponent&); + MenuBarComponent& operator= (const MenuBarComponent&); }; #endif // __JUCE_MENUBARCOMPONENT_JUCEHEADER__ diff --git a/src/gui/components/menus/juce_MenuBarModel.h b/src/gui/components/menus/juce_MenuBarModel.h index dd9cfeb7ae..dc3966e0d7 100644 --- a/src/gui/components/menus/juce_MenuBarModel.h +++ b/src/gui/components/menus/juce_MenuBarModel.h @@ -175,7 +175,7 @@ private: SortedSet listeners; MenuBarModel (const MenuBarModel&); - const MenuBarModel& operator= (const MenuBarModel&); + MenuBarModel& operator= (const MenuBarModel&); }; diff --git a/src/gui/components/menus/juce_PopupMenu.cpp b/src/gui/components/menus/juce_PopupMenu.cpp index 490bbd307b..789b3841bf 100644 --- a/src/gui/components/menus/juce_PopupMenu.cpp +++ b/src/gui/components/menus/juce_PopupMenu.cpp @@ -1285,7 +1285,7 @@ PopupMenu::PopupMenu (const PopupMenu& other) items.add (new Item (*other.items.getUnchecked(i))); } -const PopupMenu& PopupMenu::operator= (const PopupMenu& other) +PopupMenu& PopupMenu::operator= (const PopupMenu& other) { if (this != &other) { @@ -1431,7 +1431,7 @@ private: const int width, height; NormalComponentWrapper (const NormalComponentWrapper&); - const NormalComponentWrapper& operator= (const NormalComponentWrapper&); + NormalComponentWrapper& operator= (const NormalComponentWrapper&); }; void PopupMenu::addCustomItem (const int itemResultId, diff --git a/src/gui/components/menus/juce_PopupMenu.h b/src/gui/components/menus/juce_PopupMenu.h index 884aae67d5..4cfc9c50e7 100644 --- a/src/gui/components/menus/juce_PopupMenu.h +++ b/src/gui/components/menus/juce_PopupMenu.h @@ -92,7 +92,7 @@ public: ~PopupMenu(); /** Copies this menu from another one. */ - const PopupMenu& operator= (const PopupMenu& other); + PopupMenu& operator= (const PopupMenu& other); //============================================================================== /** Resets the menu, removing all its items. */ @@ -369,7 +369,7 @@ public: int index; MenuItemIterator (const MenuItemIterator&); - const MenuItemIterator& operator= (const MenuItemIterator&); + MenuItemIterator& operator= (const MenuItemIterator&); }; //============================================================================== diff --git a/src/gui/components/mouse/juce_MouseCursor.cpp b/src/gui/components/mouse/juce_MouseCursor.cpp index 2a66ccb2ea..cacd575589 100644 --- a/src/gui/components/mouse/juce_MouseCursor.cpp +++ b/src/gui/components/mouse/juce_MouseCursor.cpp @@ -93,7 +93,7 @@ private: const MouseCursor::StandardCursorType standardType; const bool isStandard; - const SharedMouseCursorInternal& operator= (const SharedMouseCursorInternal&); + SharedMouseCursorInternal& operator= (const SharedMouseCursorInternal&); }; @@ -125,7 +125,7 @@ MouseCursor::~MouseCursor() throw() { } -const MouseCursor& MouseCursor::operator= (const MouseCursor& other) throw() +MouseCursor& MouseCursor::operator= (const MouseCursor& other) throw() { cursorHandle = other.cursorHandle; return *this; diff --git a/src/gui/components/mouse/juce_MouseCursor.h b/src/gui/components/mouse/juce_MouseCursor.h index 5813af3727..fe7bec2f58 100644 --- a/src/gui/components/mouse/juce_MouseCursor.h +++ b/src/gui/components/mouse/juce_MouseCursor.h @@ -98,7 +98,7 @@ public: MouseCursor (const MouseCursor& other) throw(); /** Copies this cursor from another object. */ - const MouseCursor& operator= (const MouseCursor& other) throw(); + MouseCursor& operator= (const MouseCursor& other) throw(); /** Destructor. */ ~MouseCursor() throw(); diff --git a/src/gui/components/mouse/juce_MouseHoverDetector.h b/src/gui/components/mouse/juce_MouseHoverDetector.h index 976c410224..c19873133b 100644 --- a/src/gui/components/mouse/juce_MouseHoverDetector.h +++ b/src/gui/components/mouse/juce_MouseHoverDetector.h @@ -125,7 +125,7 @@ private: void checkJustHoveredCallback(); MouseHoverDetector (const MouseHoverDetector&); - const MouseHoverDetector& operator= (const MouseHoverDetector&); + MouseHoverDetector& operator= (const MouseHoverDetector&); }; #endif // __JUCE_MOUSEHOVERDETECTOR_JUCEHEADER__ diff --git a/src/gui/components/properties/juce_BooleanPropertyComponent.h b/src/gui/components/properties/juce_BooleanPropertyComponent.h index 655028c1e8..fd3eb153a1 100644 --- a/src/gui/components/properties/juce_BooleanPropertyComponent.h +++ b/src/gui/components/properties/juce_BooleanPropertyComponent.h @@ -95,7 +95,7 @@ private: void createButton(); BooleanPropertyComponent (const BooleanPropertyComponent&); - const BooleanPropertyComponent& operator= (const BooleanPropertyComponent&); + BooleanPropertyComponent& operator= (const BooleanPropertyComponent&); }; diff --git a/src/gui/components/properties/juce_ButtonPropertyComponent.h b/src/gui/components/properties/juce_ButtonPropertyComponent.h index eab59293b6..a7fa949110 100644 --- a/src/gui/components/properties/juce_ButtonPropertyComponent.h +++ b/src/gui/components/properties/juce_ButtonPropertyComponent.h @@ -78,7 +78,7 @@ private: TextButton* button; ButtonPropertyComponent (const ButtonPropertyComponent&); - const ButtonPropertyComponent& operator= (const ButtonPropertyComponent&); + ButtonPropertyComponent& operator= (const ButtonPropertyComponent&); }; diff --git a/src/gui/components/properties/juce_ChoicePropertyComponent.h b/src/gui/components/properties/juce_ChoicePropertyComponent.h index 56873c800b..3a514ef8fa 100644 --- a/src/gui/components/properties/juce_ChoicePropertyComponent.h +++ b/src/gui/components/properties/juce_ChoicePropertyComponent.h @@ -124,7 +124,7 @@ private: void createComboBox (const Array * choiceIDs); ChoicePropertyComponent (const ChoicePropertyComponent&); - const ChoicePropertyComponent& operator= (const ChoicePropertyComponent&); + ChoicePropertyComponent& operator= (const ChoicePropertyComponent&); }; diff --git a/src/gui/components/properties/juce_SliderPropertyComponent.h b/src/gui/components/properties/juce_SliderPropertyComponent.h index 1cb7491430..348fa9119c 100644 --- a/src/gui/components/properties/juce_SliderPropertyComponent.h +++ b/src/gui/components/properties/juce_SliderPropertyComponent.h @@ -105,7 +105,7 @@ protected: Slider* slider; SliderPropertyComponent (const SliderPropertyComponent&); - const SliderPropertyComponent& operator= (const SliderPropertyComponent&); + SliderPropertyComponent& operator= (const SliderPropertyComponent&); }; diff --git a/src/gui/components/properties/juce_TextPropertyComponent.h b/src/gui/components/properties/juce_TextPropertyComponent.h index 5cdafef4a5..7e4ab0482b 100644 --- a/src/gui/components/properties/juce_TextPropertyComponent.h +++ b/src/gui/components/properties/juce_TextPropertyComponent.h @@ -94,7 +94,7 @@ private: void createEditor (const int maxNumChars, const bool isMultiLine); TextPropertyComponent (const TextPropertyComponent&); - const TextPropertyComponent& operator= (const TextPropertyComponent&); + TextPropertyComponent& operator= (const TextPropertyComponent&); }; diff --git a/src/gui/components/special/juce_AudioDeviceSelectorComponent.cpp b/src/gui/components/special/juce_AudioDeviceSelectorComponent.cpp index 546bee233f..7bdb6668ea 100644 --- a/src/gui/components/special/juce_AudioDeviceSelectorComponent.cpp +++ b/src/gui/components/special/juce_AudioDeviceSelectorComponent.cpp @@ -198,7 +198,7 @@ private: } MidiInputSelectorComponentListBox (const MidiInputSelectorComponentListBox&); - const MidiInputSelectorComponentListBox& operator= (const MidiInputSelectorComponentListBox&); + MidiInputSelectorComponentListBox& operator= (const MidiInputSelectorComponentListBox&); }; @@ -928,7 +928,7 @@ public: } ChannelSelectorListBox (const ChannelSelectorListBox&); - const ChannelSelectorListBox& operator= (const ChannelSelectorListBox&); + ChannelSelectorListBox& operator= (const ChannelSelectorListBox&); }; private: @@ -936,7 +936,7 @@ private: ChannelSelectorListBox* outputChanList; AudioDeviceSettingsPanel (const AudioDeviceSettingsPanel&); - const AudioDeviceSettingsPanel& operator= (const AudioDeviceSettingsPanel&); + AudioDeviceSettingsPanel& operator= (const AudioDeviceSettingsPanel&); }; diff --git a/src/gui/components/special/juce_AudioDeviceSelectorComponent.h b/src/gui/components/special/juce_AudioDeviceSelectorComponent.h index 16f4d56d9b..2ab38a3d50 100644 --- a/src/gui/components/special/juce_AudioDeviceSelectorComponent.h +++ b/src/gui/components/special/juce_AudioDeviceSelectorComponent.h @@ -110,7 +110,7 @@ private: Label* midiOutputLabel; AudioDeviceSelectorComponent (const AudioDeviceSelectorComponent&); - const AudioDeviceSelectorComponent& operator= (const AudioDeviceSelectorComponent&); + AudioDeviceSelectorComponent& operator= (const AudioDeviceSelectorComponent&); }; diff --git a/src/gui/components/special/juce_BubbleComponent.h b/src/gui/components/special/juce_BubbleComponent.h index 6e1b13b8c8..0e0704fc29 100644 --- a/src/gui/components/special/juce_BubbleComponent.h +++ b/src/gui/components/special/juce_BubbleComponent.h @@ -157,7 +157,7 @@ private: DropShadowEffect shadow; BubbleComponent (const BubbleComponent&); - const BubbleComponent& operator= (const BubbleComponent&); + BubbleComponent& operator= (const BubbleComponent&); }; diff --git a/src/gui/components/special/juce_BubbleMessageComponent.h b/src/gui/components/special/juce_BubbleMessageComponent.h index cba13789f6..c47f85d56b 100644 --- a/src/gui/components/special/juce_BubbleMessageComponent.h +++ b/src/gui/components/special/juce_BubbleMessageComponent.h @@ -131,7 +131,7 @@ private: const bool deleteSelfAfterUse); BubbleMessageComponent (const BubbleMessageComponent&); - const BubbleMessageComponent& operator= (const BubbleMessageComponent&); + BubbleMessageComponent& operator= (const BubbleMessageComponent&); }; diff --git a/src/gui/components/special/juce_ColourSelector.cpp b/src/gui/components/special/juce_ColourSelector.cpp index d7066890e4..1a57be8209 100644 --- a/src/gui/components/special/juce_ColourSelector.cpp +++ b/src/gui/components/special/juce_ColourSelector.cpp @@ -61,7 +61,7 @@ public: private: ColourComponentSlider (const ColourComponentSlider&); - const ColourComponentSlider& operator= (const ColourComponentSlider&); + ColourComponentSlider& operator= (const ColourComponentSlider&); }; //============================================================================== @@ -87,7 +87,7 @@ public: private: ColourSpaceMarker (const ColourSpaceMarker&); - const ColourSpaceMarker& operator= (const ColourSpaceMarker&); + ColourSpaceMarker& operator= (const ColourSpaceMarker&); }; //============================================================================== @@ -191,7 +191,7 @@ private: } ColourSpaceView (const ColourSpaceView&); - const ColourSpaceView& operator= (const ColourSpaceView&); + ColourSpaceView& operator= (const ColourSpaceView&); }; //============================================================================== @@ -227,7 +227,7 @@ public: private: HueSelectorMarker (const HueSelectorMarker&); - const HueSelectorMarker& operator= (const HueSelectorMarker&); + HueSelectorMarker& operator= (const HueSelectorMarker&); }; //============================================================================== @@ -296,7 +296,7 @@ private: const int edge; HueSelectorComp (const HueSelectorComp&); - const HueSelectorComp& operator= (const HueSelectorComp&); + HueSelectorComp& operator= (const HueSelectorComp&); }; //============================================================================== @@ -351,7 +351,7 @@ private: const int index; SwatchComponent (const SwatchComponent&); - const SwatchComponent& operator= (const SwatchComponent&); + SwatchComponent& operator= (const SwatchComponent&); }; //============================================================================== diff --git a/src/gui/components/special/juce_ColourSelector.h b/src/gui/components/special/juce_ColourSelector.h index b49ee0ede3..dce987e401 100644 --- a/src/gui/components/special/juce_ColourSelector.h +++ b/src/gui/components/special/juce_ColourSelector.h @@ -157,7 +157,7 @@ private: void resized(); ColourSelector (const ColourSelector&); - const ColourSelector& operator= (const ColourSelector&); + ColourSelector& operator= (const ColourSelector&); // this constructor is here temporarily to prevent old code compiling, because the parameters // have changed - if you get an error here, update your code to use the new constructor instead.. diff --git a/src/gui/components/special/juce_DropShadower.cpp b/src/gui/components/special/juce_DropShadower.cpp index 7e7641df3a..7a51284db2 100644 --- a/src/gui/components/special/juce_DropShadower.cpp +++ b/src/gui/components/special/juce_DropShadower.cpp @@ -116,7 +116,7 @@ public: private: ShadowWindow (const ShadowWindow&); - const ShadowWindow& operator= (const ShadowWindow&); + ShadowWindow& operator= (const ShadowWindow&); }; diff --git a/src/gui/components/special/juce_DropShadower.h b/src/gui/components/special/juce_DropShadower.h index 0e7b8258a1..977b4aee63 100644 --- a/src/gui/components/special/juce_DropShadower.h +++ b/src/gui/components/special/juce_DropShadower.h @@ -101,7 +101,7 @@ private: void deleteShadowWindows(); DropShadower (const DropShadower&); - const DropShadower& operator= (const DropShadower&); + DropShadower& operator= (const DropShadower&); }; diff --git a/src/gui/components/special/juce_MagnifierComponent.cpp b/src/gui/components/special/juce_MagnifierComponent.cpp index 8efd5e02be..01336dc8cc 100644 --- a/src/gui/components/special/juce_MagnifierComponent.cpp +++ b/src/gui/components/special/juce_MagnifierComponent.cpp @@ -137,7 +137,7 @@ private: MagnifierComponent* const magnifierComp; MagnifyingPeer (const MagnifyingPeer&); - const MagnifyingPeer& operator= (const MagnifyingPeer&); + MagnifyingPeer& operator= (const MagnifyingPeer&); }; @@ -182,7 +182,7 @@ private: MagnifierComponent* const magnifierComp; PeerHolderComp (const PeerHolderComp&); - const PeerHolderComp& operator= (const PeerHolderComp&); + PeerHolderComp& operator= (const PeerHolderComp&); }; diff --git a/src/gui/components/special/juce_MagnifierComponent.h b/src/gui/components/special/juce_MagnifierComponent.h index a025f6bac1..a1f4cdf196 100644 --- a/src/gui/components/special/juce_MagnifierComponent.h +++ b/src/gui/components/special/juce_MagnifierComponent.h @@ -114,7 +114,7 @@ private: int scaleInt (const int n) const; MagnifierComponent (const MagnifierComponent&); - const MagnifierComponent& operator= (const MagnifierComponent&); + MagnifierComponent& operator= (const MagnifierComponent&); }; diff --git a/src/gui/components/special/juce_MidiKeyboardComponent.cpp b/src/gui/components/special/juce_MidiKeyboardComponent.cpp index e466f94a81..4819a2ea3d 100644 --- a/src/gui/components/special/juce_MidiKeyboardComponent.cpp +++ b/src/gui/components/special/juce_MidiKeyboardComponent.cpp @@ -73,7 +73,7 @@ private: const int delta; MidiKeyboardUpDownButton (const MidiKeyboardUpDownButton&); - const MidiKeyboardUpDownButton& operator= (const MidiKeyboardUpDownButton&); + MidiKeyboardUpDownButton& operator= (const MidiKeyboardUpDownButton&); }; //============================================================================== diff --git a/src/gui/components/special/juce_MidiKeyboardComponent.h b/src/gui/components/special/juce_MidiKeyboardComponent.h index 6b9b1b2fb4..eefaca2aea 100644 --- a/src/gui/components/special/juce_MidiKeyboardComponent.h +++ b/src/gui/components/special/juce_MidiKeyboardComponent.h @@ -412,7 +412,7 @@ private: void repaintNote (const int midiNoteNumber); MidiKeyboardComponent (const MidiKeyboardComponent&); - const MidiKeyboardComponent& operator= (const MidiKeyboardComponent&); + MidiKeyboardComponent& operator= (const MidiKeyboardComponent&); }; diff --git a/src/gui/components/special/juce_NSViewComponent.h b/src/gui/components/special/juce_NSViewComponent.h index 6006bec1d4..27e126ee86 100644 --- a/src/gui/components/special/juce_NSViewComponent.h +++ b/src/gui/components/special/juce_NSViewComponent.h @@ -82,7 +82,7 @@ private: ScopedPointer info; NSViewComponent (const NSViewComponent&); - const NSViewComponent& operator= (const NSViewComponent&); + NSViewComponent& operator= (const NSViewComponent&); }; #endif diff --git a/src/gui/components/special/juce_OpenGLComponent.h b/src/gui/components/special/juce_OpenGLComponent.h index a9d978076f..32514df3fb 100644 --- a/src/gui/components/special/juce_OpenGLComponent.h +++ b/src/gui/components/special/juce_OpenGLComponent.h @@ -347,7 +347,7 @@ private: void internalRepaint (int x, int y, int w, int h); OpenGLComponent (const OpenGLComponent&); - const OpenGLComponent& operator= (const OpenGLComponent&); + OpenGLComponent& operator= (const OpenGLComponent&); }; diff --git a/src/gui/components/special/juce_PreferencesPanel.cpp b/src/gui/components/special/juce_PreferencesPanel.cpp index 3749263cc2..3c3e4b06d0 100644 --- a/src/gui/components/special/juce_PreferencesPanel.cpp +++ b/src/gui/components/special/juce_PreferencesPanel.cpp @@ -103,7 +103,7 @@ public: private: PrefsDialogWindow (const PrefsDialogWindow&); - const PrefsDialogWindow& operator= (const PrefsDialogWindow&); + PrefsDialogWindow& operator= (const PrefsDialogWindow&); }; //============================================================================== diff --git a/src/gui/components/special/juce_PreferencesPanel.h b/src/gui/components/special/juce_PreferencesPanel.h index 29804de89c..c9b4fbe2b1 100644 --- a/src/gui/components/special/juce_PreferencesPanel.h +++ b/src/gui/components/special/juce_PreferencesPanel.h @@ -141,7 +141,7 @@ private: int buttonSize; PreferencesPanel (const PreferencesPanel&); - const PreferencesPanel& operator= (const PreferencesPanel&); + PreferencesPanel& operator= (const PreferencesPanel&); }; diff --git a/src/gui/components/special/juce_QuickTimeMovieComponent.h b/src/gui/components/special/juce_QuickTimeMovieComponent.h index 1abff381b7..598e03f79c 100644 --- a/src/gui/components/special/juce_QuickTimeMovieComponent.h +++ b/src/gui/components/special/juce_QuickTimeMovieComponent.h @@ -222,7 +222,7 @@ private: #endif QuickTimeMovieComponent (const QuickTimeMovieComponent&); - const QuickTimeMovieComponent& operator= (const QuickTimeMovieComponent&); + QuickTimeMovieComponent& operator= (const QuickTimeMovieComponent&); }; #endif diff --git a/src/gui/components/special/juce_SystemTrayIconComponent.h b/src/gui/components/special/juce_SystemTrayIconComponent.h index 1b065a88e7..8abc0b690c 100644 --- a/src/gui/components/special/juce_SystemTrayIconComponent.h +++ b/src/gui/components/special/juce_SystemTrayIconComponent.h @@ -76,7 +76,7 @@ public: private: //============================================================================== SystemTrayIconComponent (const SystemTrayIconComponent&); - const SystemTrayIconComponent& operator= (const SystemTrayIconComponent&); + SystemTrayIconComponent& operator= (const SystemTrayIconComponent&); }; diff --git a/src/gui/components/special/juce_WebBrowserComponent.h b/src/gui/components/special/juce_WebBrowserComponent.h index 7f1bf06b3a..3a2c574ad8 100644 --- a/src/gui/components/special/juce_WebBrowserComponent.h +++ b/src/gui/components/special/juce_WebBrowserComponent.h @@ -125,7 +125,7 @@ private: void checkWindowAssociation(); WebBrowserComponent (const WebBrowserComponent&); - const WebBrowserComponent& operator= (const WebBrowserComponent&); + WebBrowserComponent& operator= (const WebBrowserComponent&); }; diff --git a/src/gui/components/windows/juce_AlertWindow.cpp b/src/gui/components/windows/juce_AlertWindow.cpp index 1471f737fe..6051121f07 100644 --- a/src/gui/components/windows/juce_AlertWindow.cpp +++ b/src/gui/components/windows/juce_AlertWindow.cpp @@ -72,7 +72,7 @@ public: private: AlertWindowTextEditor (const AlertWindowTextEditor&); - const AlertWindowTextEditor& operator= (const AlertWindowTextEditor&); + AlertWindowTextEditor& operator= (const AlertWindowTextEditor&); }; #if JUCE_LINUX @@ -255,11 +255,6 @@ ComboBox* AlertWindow::getComboBoxComponent (const String& nameOfList) const //============================================================================== class AlertTextComp : public TextEditor { - AlertTextComp (const AlertTextComp&); - const AlertTextComp& operator= (const AlertTextComp&); - - int bestWidth; - public: AlertTextComp (const String& message, const Font& font) @@ -294,6 +289,12 @@ public: text.layout (width - 8, Justification::topLeft, true); setSize (width, jmin (width, text.getHeight() + (int) getFont().getHeight())); } + +private: + int bestWidth; + + AlertTextComp (const AlertTextComp&); + AlertTextComp& operator= (const AlertTextComp&); }; void AlertWindow::addTextBlock (const String& text) diff --git a/src/gui/components/windows/juce_AlertWindow.h b/src/gui/components/windows/juce_AlertWindow.h index b6ec7d9f1b..b0fc5bf4ad 100644 --- a/src/gui/components/windows/juce_AlertWindow.h +++ b/src/gui/components/windows/juce_AlertWindow.h @@ -369,7 +369,7 @@ private: // disable copy constructor AlertWindow (const AlertWindow&); - const AlertWindow& operator= (const AlertWindow&); + AlertWindow& operator= (const AlertWindow&); }; #endif // __JUCE_ALERTWINDOW_JUCEHEADER__ diff --git a/src/gui/components/windows/juce_ComponentPeer.h b/src/gui/components/windows/juce_ComponentPeer.h index 579182bce1..76240225e6 100644 --- a/src/gui/components/windows/juce_ComponentPeer.h +++ b/src/gui/components/windows/juce_ComponentPeer.h @@ -389,7 +389,7 @@ private: void setLastDragDropTarget (Component* comp); ComponentPeer (const ComponentPeer&); - const ComponentPeer& operator= (const ComponentPeer&); + ComponentPeer& operator= (const ComponentPeer&); }; diff --git a/src/gui/components/windows/juce_DialogWindow.cpp b/src/gui/components/windows/juce_DialogWindow.cpp index 3905d1e895..64aeb22fa1 100644 --- a/src/gui/components/windows/juce_DialogWindow.cpp +++ b/src/gui/components/windows/juce_DialogWindow.cpp @@ -81,7 +81,7 @@ public: private: TempDialogWindow (const TempDialogWindow&); - const TempDialogWindow& operator= (const TempDialogWindow&); + TempDialogWindow& operator= (const TempDialogWindow&); }; diff --git a/src/gui/components/windows/juce_DialogWindow.h b/src/gui/components/windows/juce_DialogWindow.h index d5ffa9c7a7..a3bcf09deb 100644 --- a/src/gui/components/windows/juce_DialogWindow.h +++ b/src/gui/components/windows/juce_DialogWindow.h @@ -131,7 +131,7 @@ private: bool escapeKeyTriggersCloseButton; DialogWindow (const DialogWindow&); - const DialogWindow& operator= (const DialogWindow&); + DialogWindow& operator= (const DialogWindow&); }; #endif // __JUCE_DIALOGWINDOW_JUCEHEADER__ diff --git a/src/gui/components/windows/juce_DocumentWindow.h b/src/gui/components/windows/juce_DocumentWindow.h index 41245451c6..5fabfc7910 100644 --- a/src/gui/components/windows/juce_DocumentWindow.h +++ b/src/gui/components/windows/juce_DocumentWindow.h @@ -260,7 +260,7 @@ private: void repaintTitleBar(); DocumentWindow (const DocumentWindow&); - const DocumentWindow& operator= (const DocumentWindow&); + DocumentWindow& operator= (const DocumentWindow&); }; diff --git a/src/gui/components/windows/juce_ResizableWindow.h b/src/gui/components/windows/juce_ResizableWindow.h index 5bd04bf6bc..b4da73d3fd 100644 --- a/src/gui/components/windows/juce_ResizableWindow.h +++ b/src/gui/components/windows/juce_ResizableWindow.h @@ -355,7 +355,7 @@ private: void updateLastPos(); ResizableWindow (const ResizableWindow&); - const ResizableWindow& operator= (const ResizableWindow&); + ResizableWindow& operator= (const ResizableWindow&); // (xxx remove these eventually) // temporarily here to stop old code compiling, as the parameters for these methods have changed.. diff --git a/src/gui/components/windows/juce_SplashScreen.h b/src/gui/components/windows/juce_SplashScreen.h index 7b7d77b181..5171c95a8e 100644 --- a/src/gui/components/windows/juce_SplashScreen.h +++ b/src/gui/components/windows/juce_SplashScreen.h @@ -146,7 +146,7 @@ private: int originalClickCounter; SplashScreen (const SplashScreen&); - const SplashScreen& operator= (const SplashScreen&); + SplashScreen& operator= (const SplashScreen&); }; diff --git a/src/gui/components/windows/juce_ThreadWithProgressWindow.h b/src/gui/components/windows/juce_ThreadWithProgressWindow.h index ef6951e39f..32da58fd84 100644 --- a/src/gui/components/windows/juce_ThreadWithProgressWindow.h +++ b/src/gui/components/windows/juce_ThreadWithProgressWindow.h @@ -159,7 +159,7 @@ private: const int timeOutMsWhenCancelling; ThreadWithProgressWindow (const ThreadWithProgressWindow&); - const ThreadWithProgressWindow& operator= (const ThreadWithProgressWindow&); + ThreadWithProgressWindow& operator= (const ThreadWithProgressWindow&); }; #endif // __JUCE_THREADWITHPROGRESSWINDOW_JUCEHEADER__ diff --git a/src/gui/components/windows/juce_TooltipWindow.h b/src/gui/components/windows/juce_TooltipWindow.h index 26b1a91ed0..fe250baf5c 100644 --- a/src/gui/components/windows/juce_TooltipWindow.h +++ b/src/gui/components/windows/juce_TooltipWindow.h @@ -116,7 +116,7 @@ private: void hide(); TooltipWindow (const TooltipWindow&); - const TooltipWindow& operator= (const TooltipWindow&); + TooltipWindow& operator= (const TooltipWindow&); }; diff --git a/src/gui/components/windows/juce_TopLevelWindow.cpp b/src/gui/components/windows/juce_TopLevelWindow.cpp index 3d928694d4..1b9a690aba 100644 --- a/src/gui/components/windows/juce_TopLevelWindow.cpp +++ b/src/gui/components/windows/juce_TopLevelWindow.cpp @@ -129,7 +129,7 @@ private: } TopLevelWindowManager (const TopLevelWindowManager&); - const TopLevelWindowManager& operator= (const TopLevelWindowManager&); + TopLevelWindowManager& operator= (const TopLevelWindowManager&); }; juce_ImplementSingleton_SingleThreaded (TopLevelWindowManager) diff --git a/src/gui/components/windows/juce_TopLevelWindow.h b/src/gui/components/windows/juce_TopLevelWindow.h index bf3110c5ef..ca40aaa096 100644 --- a/src/gui/components/windows/juce_TopLevelWindow.h +++ b/src/gui/components/windows/juce_TopLevelWindow.h @@ -165,7 +165,7 @@ private: void setWindowActive (const bool isNowActive) throw(); TopLevelWindow (const TopLevelWindow&); - const TopLevelWindow& operator= (const TopLevelWindow&); + TopLevelWindow& operator= (const TopLevelWindow&); }; diff --git a/src/gui/graphics/colour/juce_Colour.cpp b/src/gui/graphics/colour/juce_Colour.cpp index 18bd7fbb35..eadaee2c38 100644 --- a/src/gui/graphics/colour/juce_Colour.cpp +++ b/src/gui/graphics/colour/juce_Colour.cpp @@ -50,7 +50,7 @@ Colour::Colour (const Colour& other) throw() { } -const Colour& Colour::operator= (const Colour& other) throw() +Colour& Colour::operator= (const Colour& other) throw() { argb = other.argb; return *this; diff --git a/src/gui/graphics/colour/juce_Colour.h b/src/gui/graphics/colour/juce_Colour.h index 92219a4c90..f0240e465f 100644 --- a/src/gui/graphics/colour/juce_Colour.h +++ b/src/gui/graphics/colour/juce_Colour.h @@ -131,7 +131,7 @@ public: ~Colour() throw(); /** Copies another Colour object. */ - const Colour& operator= (const Colour& other) throw(); + Colour& operator= (const Colour& other) throw(); /** Compares two colours. */ bool operator== (const Colour& other) const throw(); diff --git a/src/gui/graphics/contexts/juce_EdgeTable.cpp b/src/gui/graphics/contexts/juce_EdgeTable.cpp index fab42c4eca..e5121121fc 100644 --- a/src/gui/graphics/contexts/juce_EdgeTable.cpp +++ b/src/gui/graphics/contexts/juce_EdgeTable.cpp @@ -249,7 +249,7 @@ EdgeTable::EdgeTable (const EdgeTable& other) throw() operator= (other); } -const EdgeTable& EdgeTable::operator= (const EdgeTable& other) throw() +EdgeTable& EdgeTable::operator= (const EdgeTable& other) throw() { bounds = other.bounds; maxEdgesPerLine = other.maxEdgesPerLine; diff --git a/src/gui/graphics/contexts/juce_EdgeTable.h b/src/gui/graphics/contexts/juce_EdgeTable.h index 930a8d4d66..9380e7f78d 100644 --- a/src/gui/graphics/contexts/juce_EdgeTable.h +++ b/src/gui/graphics/contexts/juce_EdgeTable.h @@ -74,7 +74,7 @@ public: EdgeTable (const EdgeTable& other) throw(); /** Copies from another edge table. */ - const EdgeTable& operator= (const EdgeTable& other) throw(); + EdgeTable& operator= (const EdgeTable& other) throw(); /** Destructor. */ ~EdgeTable() throw(); diff --git a/src/gui/graphics/contexts/juce_FillType.cpp b/src/gui/graphics/contexts/juce_FillType.cpp index 950adad96b..e7be4949e6 100644 --- a/src/gui/graphics/contexts/juce_FillType.cpp +++ b/src/gui/graphics/contexts/juce_FillType.cpp @@ -59,7 +59,7 @@ FillType::FillType (const FillType& other) throw() { } -const FillType& FillType::operator= (const FillType& other) throw() +FillType& FillType::operator= (const FillType& other) throw() { if (this != &other) { diff --git a/src/gui/graphics/contexts/juce_FillType.h b/src/gui/graphics/contexts/juce_FillType.h index 760cf716bc..78d367ed18 100644 --- a/src/gui/graphics/contexts/juce_FillType.h +++ b/src/gui/graphics/contexts/juce_FillType.h @@ -66,7 +66,7 @@ public: FillType (const FillType& other) throw(); /** Makes a copy of another FillType. */ - const FillType& operator= (const FillType& other) throw(); + FillType& operator= (const FillType& other) throw(); /** Destructor. */ ~FillType() throw(); diff --git a/src/gui/graphics/contexts/juce_Graphics.h b/src/gui/graphics/contexts/juce_Graphics.h index ea09745572..b3f2cd3916 100644 --- a/src/gui/graphics/contexts/juce_Graphics.h +++ b/src/gui/graphics/contexts/juce_Graphics.h @@ -722,8 +722,8 @@ private: bool saveStatePending; void saveStateIfPending() throw(); - const Graphics& operator= (const Graphics& other); Graphics (const Graphics&); + Graphics& operator= (const Graphics& other); }; diff --git a/src/gui/graphics/contexts/juce_Justification.cpp b/src/gui/graphics/contexts/juce_Justification.cpp index 1fc77234bb..97ed5e186f 100644 --- a/src/gui/graphics/contexts/juce_Justification.cpp +++ b/src/gui/graphics/contexts/juce_Justification.cpp @@ -37,7 +37,7 @@ Justification::Justification (const Justification& other) throw() { } -const Justification& Justification::operator= (const Justification& other) throw() +Justification& Justification::operator= (const Justification& other) throw() { flags = other.flags; return *this; diff --git a/src/gui/graphics/contexts/juce_Justification.h b/src/gui/graphics/contexts/juce_Justification.h index 4dd894c7df..0b0cf6f869 100644 --- a/src/gui/graphics/contexts/juce_Justification.h +++ b/src/gui/graphics/contexts/juce_Justification.h @@ -47,7 +47,7 @@ public: Justification (const Justification& other) throw(); /** Copies another Justification object. */ - const Justification& operator= (const Justification& other) throw(); + Justification& operator= (const Justification& other) throw(); //============================================================================== diff --git a/src/gui/graphics/contexts/juce_LowLevelGraphicsPostScriptRenderer.h b/src/gui/graphics/contexts/juce_LowLevelGraphicsPostScriptRenderer.h index 41551f0dd6..7785a2c686 100644 --- a/src/gui/graphics/contexts/juce_LowLevelGraphicsPostScriptRenderer.h +++ b/src/gui/graphics/contexts/juce_LowLevelGraphicsPostScriptRenderer.h @@ -106,7 +106,7 @@ protected: Font font; private: - const SavedState& operator= (const SavedState&); + SavedState& operator= (const SavedState&); }; OwnedArray stateStack; @@ -119,7 +119,7 @@ protected: void writeImage (const Image& im, const int sx, const int sy, const int maxW, const int maxH) const; LowLevelGraphicsPostScriptRenderer (const LowLevelGraphicsPostScriptRenderer& other); - const LowLevelGraphicsPostScriptRenderer& operator= (const LowLevelGraphicsPostScriptRenderer&); + LowLevelGraphicsPostScriptRenderer& operator= (const LowLevelGraphicsPostScriptRenderer&); }; diff --git a/src/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp b/src/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp index 68920865ef..e050cf4024 100644 --- a/src/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp +++ b/src/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp @@ -165,7 +165,7 @@ private: } SolidColourEdgeTableRenderer (const SolidColourEdgeTableRenderer&); - const SolidColourEdgeTableRenderer& operator= (const SolidColourEdgeTableRenderer&); + SolidColourEdgeTableRenderer& operator= (const SolidColourEdgeTableRenderer&); }; //============================================================================== @@ -246,7 +246,7 @@ private: enum { numScaleBits = 12 }; LinearGradientPixelGenerator (const LinearGradientPixelGenerator&); - const LinearGradientPixelGenerator& operator= (const LinearGradientPixelGenerator&); + LinearGradientPixelGenerator& operator= (const LinearGradientPixelGenerator&); }; //============================================================================== @@ -290,7 +290,7 @@ protected: double maxDist, invScale, dy; RadialGradientPixelGenerator (const RadialGradientPixelGenerator&); - const RadialGradientPixelGenerator& operator= (const RadialGradientPixelGenerator&); + RadialGradientPixelGenerator& operator= (const RadialGradientPixelGenerator&); }; //============================================================================== @@ -331,7 +331,7 @@ private: const AffineTransform inverseTransform; TransformedRadialGradientPixelGenerator (const TransformedRadialGradientPixelGenerator&); - const TransformedRadialGradientPixelGenerator& operator= (const TransformedRadialGradientPixelGenerator&); + TransformedRadialGradientPixelGenerator& operator= (const TransformedRadialGradientPixelGenerator&); }; //============================================================================== @@ -382,7 +382,7 @@ private: PixelType* linePixels; GradientEdgeTableRenderer (const GradientEdgeTableRenderer&); - const GradientEdgeTableRenderer& operator= (const GradientEdgeTableRenderer&); + GradientEdgeTableRenderer& operator= (const GradientEdgeTableRenderer&); }; //============================================================================== @@ -496,7 +496,7 @@ private: } ImageFillEdgeTableRenderer (const ImageFillEdgeTableRenderer&); - const ImageFillEdgeTableRenderer& operator= (const ImageFillEdgeTableRenderer&); + ImageFillEdgeTableRenderer& operator= (const ImageFillEdgeTableRenderer&); }; //============================================================================== @@ -877,7 +877,7 @@ private: BresenhamInterpolator xBresenham, yBresenham; TransformedImageSpanInterpolator (const TransformedImageSpanInterpolator&); - const TransformedImageSpanInterpolator& operator= (const TransformedImageSpanInterpolator&); + TransformedImageSpanInterpolator& operator= (const TransformedImageSpanInterpolator&); }; //============================================================================== @@ -894,7 +894,7 @@ private: int scratchSize; TransformedImageFillEdgeTableRenderer (const TransformedImageFillEdgeTableRenderer&); - const TransformedImageFillEdgeTableRenderer& operator= (const TransformedImageFillEdgeTableRenderer&); + TransformedImageFillEdgeTableRenderer& operator= (const TransformedImageFillEdgeTableRenderer&); }; //============================================================================== @@ -1165,7 +1165,7 @@ public: Graphics::ResamplingQuality interpolationQuality; private: - const LLGCSavedState& operator= (const LLGCSavedState&); + LLGCSavedState& operator= (const LLGCSavedState&); void dupeEdgeTableIfMultiplyReferenced() throw() { @@ -1608,7 +1608,7 @@ public: ScopedPointer edgeTable; CachedGlyph (const CachedGlyph&); - const CachedGlyph& operator= (const CachedGlyph&); + CachedGlyph& operator= (const CachedGlyph&); }; //============================================================================== @@ -1619,7 +1619,7 @@ private: int accessCounter, hits, misses; GlyphCache (const GlyphCache&); - const GlyphCache& operator= (const GlyphCache&); + GlyphCache& operator= (const GlyphCache&); }; juce_ImplementSingleton_SingleThreaded (GlyphCache); diff --git a/src/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.h b/src/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.h index 0b87f3eca8..30c3f270b8 100644 --- a/src/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.h +++ b/src/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.h @@ -96,7 +96,7 @@ protected: OwnedArray stateStack; LowLevelGraphicsSoftwareRenderer (const LowLevelGraphicsSoftwareRenderer& other); - const LowLevelGraphicsSoftwareRenderer& operator= (const LowLevelGraphicsSoftwareRenderer&); + LowLevelGraphicsSoftwareRenderer& operator= (const LowLevelGraphicsSoftwareRenderer&); }; diff --git a/src/gui/graphics/contexts/juce_RectanglePlacement.cpp b/src/gui/graphics/contexts/juce_RectanglePlacement.cpp index 5695883e92..ba051405c0 100644 --- a/src/gui/graphics/contexts/juce_RectanglePlacement.cpp +++ b/src/gui/graphics/contexts/juce_RectanglePlacement.cpp @@ -36,7 +36,7 @@ RectanglePlacement::RectanglePlacement (const RectanglePlacement& other) throw() { } -const RectanglePlacement& RectanglePlacement::operator= (const RectanglePlacement& other) throw() +RectanglePlacement& RectanglePlacement::operator= (const RectanglePlacement& other) throw() { flags = other.flags; return *this; diff --git a/src/gui/graphics/contexts/juce_RectanglePlacement.h b/src/gui/graphics/contexts/juce_RectanglePlacement.h index 5fb10fd0c7..98c801afb6 100644 --- a/src/gui/graphics/contexts/juce_RectanglePlacement.h +++ b/src/gui/graphics/contexts/juce_RectanglePlacement.h @@ -48,7 +48,7 @@ public: RectanglePlacement (const RectanglePlacement& other) throw(); /** Copies another Justification object. */ - const RectanglePlacement& operator= (const RectanglePlacement& other) throw(); + RectanglePlacement& operator= (const RectanglePlacement& other) throw(); //============================================================================== /** Flag values that can be combined and used in the constructor. */ diff --git a/src/gui/graphics/drawables/juce_Drawable.h b/src/gui/graphics/drawables/juce_Drawable.h index 945156f0ec..c0cef98e54 100644 --- a/src/gui/graphics/drawables/juce_Drawable.h +++ b/src/gui/graphics/drawables/juce_Drawable.h @@ -117,7 +117,7 @@ public: float opacity; private: - const RenderingContext& operator= (const RenderingContext&); + RenderingContext& operator= (const RenderingContext&); }; /** Renders this Drawable object. @@ -197,7 +197,7 @@ public: private: Drawable (const Drawable&); - const Drawable& operator= (const Drawable&); + Drawable& operator= (const Drawable&); String name; }; diff --git a/src/gui/graphics/drawables/juce_DrawableComposite.h b/src/gui/graphics/drawables/juce_DrawableComposite.h index 265f6c460b..b97a5fbcde 100644 --- a/src/gui/graphics/drawables/juce_DrawableComposite.h +++ b/src/gui/graphics/drawables/juce_DrawableComposite.h @@ -152,7 +152,7 @@ private: OwnedArray transforms; DrawableComposite (const DrawableComposite&); - const DrawableComposite& operator= (const DrawableComposite&); + DrawableComposite& operator= (const DrawableComposite&); }; diff --git a/src/gui/graphics/drawables/juce_DrawableImage.h b/src/gui/graphics/drawables/juce_DrawableImage.h index 616664ab5d..903876a790 100644 --- a/src/gui/graphics/drawables/juce_DrawableImage.h +++ b/src/gui/graphics/drawables/juce_DrawableImage.h @@ -122,7 +122,7 @@ private: Colour overlayColour; DrawableImage (const DrawableImage&); - const DrawableImage& operator= (const DrawableImage&); + DrawableImage& operator= (const DrawableImage&); }; diff --git a/src/gui/graphics/drawables/juce_DrawablePath.h b/src/gui/graphics/drawables/juce_DrawablePath.h index 287f7f487f..f900becc58 100644 --- a/src/gui/graphics/drawables/juce_DrawablePath.h +++ b/src/gui/graphics/drawables/juce_DrawablePath.h @@ -122,7 +122,7 @@ private: void updateOutline(); DrawablePath (const DrawablePath&); - const DrawablePath& operator= (const DrawablePath&); + DrawablePath& operator= (const DrawablePath&); }; diff --git a/src/gui/graphics/drawables/juce_DrawableText.h b/src/gui/graphics/drawables/juce_DrawableText.h index ef82404a80..8c7f9e8290 100644 --- a/src/gui/graphics/drawables/juce_DrawableText.h +++ b/src/gui/graphics/drawables/juce_DrawableText.h @@ -90,7 +90,7 @@ private: Colour colour; DrawableText (const DrawableText&); - const DrawableText& operator= (const DrawableText&); + DrawableText& operator= (const DrawableText&); }; diff --git a/src/gui/graphics/drawables/juce_SVGParser.cpp b/src/gui/graphics/drawables/juce_SVGParser.cpp index 27f2484772..9a6f7810c5 100644 --- a/src/gui/graphics/drawables/juce_SVGParser.cpp +++ b/src/gui/graphics/drawables/juce_SVGParser.cpp @@ -1291,7 +1291,7 @@ private: return 0; } - const SVGState& operator= (const SVGState&); + SVGState& operator= (const SVGState&); }; diff --git a/src/gui/graphics/fonts/juce_Font.cpp b/src/gui/graphics/fonts/juce_Font.cpp index 24549c48f7..298ed4d509 100644 --- a/src/gui/graphics/fonts/juce_Font.cpp +++ b/src/gui/graphics/fonts/juce_Font.cpp @@ -98,7 +98,7 @@ Font::Font (const Font& other) throw() { } -const Font& Font::operator= (const Font& other) throw() +Font& Font::operator= (const Font& other) throw() { font = other.font; return *this; @@ -417,7 +417,7 @@ private: OwnedArray faces; TypefaceCache (const TypefaceCache&); - const TypefaceCache& operator= (const TypefaceCache&); + TypefaceCache& operator= (const TypefaceCache&); }; juce_ImplementSingleton_SingleThreaded (TypefaceCache) diff --git a/src/gui/graphics/fonts/juce_Font.h b/src/gui/graphics/fonts/juce_Font.h index 22db2f7209..a444c53c86 100644 --- a/src/gui/graphics/fonts/juce_Font.h +++ b/src/gui/graphics/fonts/juce_Font.h @@ -98,7 +98,7 @@ public: Font() throw(); /** Copies this font from another one. */ - const Font& operator= (const Font& other) throw(); + Font& operator= (const Font& other) throw(); bool operator== (const Font& other) const throw(); bool operator!= (const Font& other) const throw(); diff --git a/src/gui/graphics/fonts/juce_GlyphArrangement.cpp b/src/gui/graphics/fonts/juce_GlyphArrangement.cpp index 50cd67390d..4c3ab227e2 100644 --- a/src/gui/graphics/fonts/juce_GlyphArrangement.cpp +++ b/src/gui/graphics/fonts/juce_GlyphArrangement.cpp @@ -118,7 +118,7 @@ GlyphArrangement::GlyphArrangement (const GlyphArrangement& other) addGlyphArrangement (other); } -const GlyphArrangement& GlyphArrangement::operator= (const GlyphArrangement& other) +GlyphArrangement& GlyphArrangement::operator= (const GlyphArrangement& other) { if (this != &other) { diff --git a/src/gui/graphics/fonts/juce_GlyphArrangement.h b/src/gui/graphics/fonts/juce_GlyphArrangement.h index 4550d4ea1e..2b53809af8 100644 --- a/src/gui/graphics/fonts/juce_GlyphArrangement.h +++ b/src/gui/graphics/fonts/juce_GlyphArrangement.h @@ -117,7 +117,7 @@ public: To add another arrangement without clearing this one, use addGlyphArrangement(). */ - const GlyphArrangement& operator= (const GlyphArrangement& other); + GlyphArrangement& operator= (const GlyphArrangement& other); /** Destructor. */ ~GlyphArrangement(); diff --git a/src/gui/graphics/fonts/juce_TextLayout.cpp b/src/gui/graphics/fonts/juce_TextLayout.cpp index ec18069802..6bd96b0355 100644 --- a/src/gui/graphics/fonts/juce_TextLayout.cpp +++ b/src/gui/graphics/fonts/juce_TextLayout.cpp @@ -112,7 +112,7 @@ TextLayout::TextLayout (const TextLayout& other) throw() *this = other; } -const TextLayout& TextLayout::operator= (const TextLayout& other) throw() +TextLayout& TextLayout::operator= (const TextLayout& other) throw() { if (this != &other) { diff --git a/src/gui/graphics/fonts/juce_TextLayout.h b/src/gui/graphics/fonts/juce_TextLayout.h index 279e55fcee..8b167bfc64 100644 --- a/src/gui/graphics/fonts/juce_TextLayout.h +++ b/src/gui/graphics/fonts/juce_TextLayout.h @@ -66,7 +66,7 @@ public: ~TextLayout() throw(); /** Copies another layout onto this one. */ - const TextLayout& operator= (const TextLayout& layoutToCopy) throw(); + TextLayout& operator= (const TextLayout& layoutToCopy) throw(); //============================================================================== /** Clears the layout, removing all its text. */ diff --git a/src/gui/graphics/fonts/juce_Typeface.cpp b/src/gui/graphics/fonts/juce_Typeface.cpp index c0a5e3e540..d9cf68e545 100644 --- a/src/gui/graphics/fonts/juce_Typeface.cpp +++ b/src/gui/graphics/fonts/juce_Typeface.cpp @@ -93,7 +93,7 @@ public: private: GlyphInfo (const GlyphInfo&); - const GlyphInfo& operator= (const GlyphInfo&); + GlyphInfo& operator= (const GlyphInfo&); }; //============================================================================== diff --git a/src/gui/graphics/fonts/juce_Typeface.h b/src/gui/graphics/fonts/juce_Typeface.h index e995112725..6806872d75 100644 --- a/src/gui/graphics/fonts/juce_Typeface.h +++ b/src/gui/graphics/fonts/juce_Typeface.h @@ -116,7 +116,7 @@ protected: private: Typeface (const Typeface&); - const Typeface& operator= (const Typeface&); + Typeface& operator= (const Typeface&); }; //============================================================================== @@ -225,7 +225,7 @@ private: short lookupTable [128]; CustomTypeface (const CustomTypeface&); - const CustomTypeface& operator= (const CustomTypeface&); + CustomTypeface& operator= (const CustomTypeface&); GlyphInfo* findGlyph (const juce_wchar character, const bool loadIfNeeded) throw(); GlyphInfo* findGlyphSubstituting (const juce_wchar character) throw(); diff --git a/src/gui/graphics/geometry/juce_AffineTransform.cpp b/src/gui/graphics/geometry/juce_AffineTransform.cpp index 760d6b84e8..0ffce5001b 100644 --- a/src/gui/graphics/geometry/juce_AffineTransform.cpp +++ b/src/gui/graphics/geometry/juce_AffineTransform.cpp @@ -67,7 +67,7 @@ AffineTransform::AffineTransform (const float mat00_, { } -const AffineTransform& AffineTransform::operator= (const AffineTransform& other) throw() +AffineTransform& AffineTransform::operator= (const AffineTransform& other) throw() { mat00 = other.mat00; mat01 = other.mat01; diff --git a/src/gui/graphics/geometry/juce_AffineTransform.h b/src/gui/graphics/geometry/juce_AffineTransform.h index 9df9d7c68e..ff895426e2 100644 --- a/src/gui/graphics/geometry/juce_AffineTransform.h +++ b/src/gui/graphics/geometry/juce_AffineTransform.h @@ -60,7 +60,7 @@ public: const float mat10, const float mat11, const float mat12) throw(); /** Copies from another AffineTransform object */ - const AffineTransform& operator= (const AffineTransform& other) throw(); + AffineTransform& operator= (const AffineTransform& other) throw(); /** Compares two transforms. */ bool operator== (const AffineTransform& other) const throw(); diff --git a/src/gui/graphics/geometry/juce_Line.cpp b/src/gui/graphics/geometry/juce_Line.cpp index e51297d90b..86a4cb82ae 100644 --- a/src/gui/graphics/geometry/juce_Line.cpp +++ b/src/gui/graphics/geometry/juce_Line.cpp @@ -145,7 +145,7 @@ Line::Line (const Point& start, { } -const Line& Line::operator= (const Line& other) throw() +Line& Line::operator= (const Line& other) throw() { startX = other.startX; startY = other.startY; diff --git a/src/gui/graphics/geometry/juce_Line.h b/src/gui/graphics/geometry/juce_Line.h index 7aaf8a1a5d..7660e1edc6 100644 --- a/src/gui/graphics/geometry/juce_Line.h +++ b/src/gui/graphics/geometry/juce_Line.h @@ -60,7 +60,7 @@ public: const Point& end) throw(); /** Copies a line from another one. */ - const Line& operator= (const Line& other) throw(); + Line& operator= (const Line& other) throw(); /** Destructor. */ ~Line() throw(); diff --git a/src/gui/graphics/geometry/juce_Path.cpp b/src/gui/graphics/geometry/juce_Path.cpp index 54318ddbbd..5a5612b13a 100644 --- a/src/gui/graphics/geometry/juce_Path.cpp +++ b/src/gui/graphics/geometry/juce_Path.cpp @@ -77,7 +77,7 @@ Path::Path (const Path& other) throw() } } -const Path& Path::operator= (const Path& other) throw() +Path& Path::operator= (const Path& other) throw() { if (this != &other) { diff --git a/src/gui/graphics/geometry/juce_Path.h b/src/gui/graphics/geometry/juce_Path.h index 372f9e04e2..5bdcc44ef5 100644 --- a/src/gui/graphics/geometry/juce_Path.h +++ b/src/gui/graphics/geometry/juce_Path.h @@ -83,7 +83,7 @@ public: ~Path() throw(); /** Copies this path from another one. */ - const Path& operator= (const Path& other) throw(); + Path& operator= (const Path& other) throw(); //============================================================================== /** Returns true if the path doesn't contain any lines or curves. */ @@ -577,7 +577,7 @@ public: int index; Iterator (const Iterator&); - const Iterator& operator= (const Iterator&); + Iterator& operator= (const Iterator&); }; //============================================================================== diff --git a/src/gui/graphics/geometry/juce_PathIterator.h b/src/gui/graphics/geometry/juce_PathIterator.h index e8f1481f88..6d486df8cb 100644 --- a/src/gui/graphics/geometry/juce_PathIterator.h +++ b/src/gui/graphics/geometry/juce_PathIterator.h @@ -115,7 +115,7 @@ private: int index, stackSize; PathFlatteningIterator (const PathFlatteningIterator&); - const PathFlatteningIterator& operator= (const PathFlatteningIterator&); + PathFlatteningIterator& operator= (const PathFlatteningIterator&); }; diff --git a/src/gui/graphics/geometry/juce_PathStrokeType.cpp b/src/gui/graphics/geometry/juce_PathStrokeType.cpp index 892131f825..cece324db1 100644 --- a/src/gui/graphics/geometry/juce_PathStrokeType.cpp +++ b/src/gui/graphics/geometry/juce_PathStrokeType.cpp @@ -49,7 +49,7 @@ PathStrokeType::PathStrokeType (const PathStrokeType& other) throw() { } -const PathStrokeType& PathStrokeType::operator= (const PathStrokeType& other) throw() +PathStrokeType& PathStrokeType::operator= (const PathStrokeType& other) throw() { thickness = other.thickness; jointStyle = other.jointStyle; diff --git a/src/gui/graphics/geometry/juce_PathStrokeType.h b/src/gui/graphics/geometry/juce_PathStrokeType.h index 72f86f333e..405566a7ed 100644 --- a/src/gui/graphics/geometry/juce_PathStrokeType.h +++ b/src/gui/graphics/geometry/juce_PathStrokeType.h @@ -80,7 +80,7 @@ public: PathStrokeType (const PathStrokeType& other) throw(); /** Copies another stroke onto this one. */ - const PathStrokeType& operator= (const PathStrokeType& other) throw(); + PathStrokeType& operator= (const PathStrokeType& other) throw(); /** Destructor. */ ~PathStrokeType() throw(); diff --git a/src/gui/graphics/geometry/juce_PositionedRectangle.cpp b/src/gui/graphics/geometry/juce_PositionedRectangle.cpp index 5de3961f56..5c6286df05 100644 --- a/src/gui/graphics/geometry/juce_PositionedRectangle.cpp +++ b/src/gui/graphics/geometry/juce_PositionedRectangle.cpp @@ -55,7 +55,7 @@ PositionedRectangle::PositionedRectangle (const PositionedRectangle& other) thro { } -const PositionedRectangle& PositionedRectangle::operator= (const PositionedRectangle& other) throw() +PositionedRectangle& PositionedRectangle::operator= (const PositionedRectangle& other) throw() { x = other.x; y = other.y; @@ -73,7 +73,7 @@ PositionedRectangle::~PositionedRectangle() throw() { } -const bool PositionedRectangle::operator== (const PositionedRectangle& other) const throw() +bool PositionedRectangle::operator== (const PositionedRectangle& other) const throw() { return x == other.x && y == other.y @@ -85,7 +85,7 @@ const bool PositionedRectangle::operator== (const PositionedRectangle& other) co && hMode == other.hMode; } -const bool PositionedRectangle::operator!= (const PositionedRectangle& other) const throw() +bool PositionedRectangle::operator!= (const PositionedRectangle& other) const throw() { return ! operator== (other); } diff --git a/src/gui/graphics/geometry/juce_PositionedRectangle.h b/src/gui/graphics/geometry/juce_PositionedRectangle.h index b4bd860620..99834a34d9 100644 --- a/src/gui/graphics/geometry/juce_PositionedRectangle.h +++ b/src/gui/graphics/geometry/juce_PositionedRectangle.h @@ -86,7 +86,7 @@ public: PositionedRectangle (const PositionedRectangle& other) throw(); /** Copies another PositionedRectangle. */ - const PositionedRectangle& operator= (const PositionedRectangle& other) throw(); + PositionedRectangle& operator= (const PositionedRectangle& other) throw(); /** Destructor. */ ~PositionedRectangle() throw(); @@ -318,10 +318,10 @@ public: //============================================================================== /** Compares two objects. */ - const bool operator== (const PositionedRectangle& other) const throw(); + bool operator== (const PositionedRectangle& other) const throw(); /** Compares two objects. */ - const bool operator!= (const PositionedRectangle& other) const throw(); + bool operator!= (const PositionedRectangle& other) const throw(); //============================================================================== juce_UseDebuggingNewOperator diff --git a/src/gui/graphics/geometry/juce_RectangleList.cpp b/src/gui/graphics/geometry/juce_RectangleList.cpp index 8ffd2dea27..70cb2316fe 100644 --- a/src/gui/graphics/geometry/juce_RectangleList.cpp +++ b/src/gui/graphics/geometry/juce_RectangleList.cpp @@ -47,7 +47,7 @@ RectangleList::RectangleList (const RectangleList& other) throw() { } -const RectangleList& RectangleList::operator= (const RectangleList& other) throw() +RectangleList& RectangleList::operator= (const RectangleList& other) throw() { rects = other.rects; return *this; diff --git a/src/gui/graphics/geometry/juce_RectangleList.h b/src/gui/graphics/geometry/juce_RectangleList.h index e0177e3aec..95f9c06efb 100644 --- a/src/gui/graphics/geometry/juce_RectangleList.h +++ b/src/gui/graphics/geometry/juce_RectangleList.h @@ -54,7 +54,7 @@ public: RectangleList (const Rectangle& rect) throw(); /** Copies this list from another one. */ - const RectangleList& operator= (const RectangleList& other) throw(); + RectangleList& operator= (const RectangleList& other) throw(); /** Destructor. */ ~RectangleList() throw(); @@ -240,7 +240,7 @@ public: int index; Iterator (const Iterator&); - const Iterator& operator= (const Iterator&); + Iterator& operator= (const Iterator&); }; //============================================================================== diff --git a/src/gui/graphics/imaging/image_file_formats/juce_GIFLoader.h b/src/gui/graphics/imaging/image_file_formats/juce_GIFLoader.h index 44415b70c2..3317c12611 100644 --- a/src/gui/graphics/imaging/image_file_formats/juce_GIFLoader.h +++ b/src/gui/graphics/imaging/image_file_formats/juce_GIFLoader.h @@ -73,7 +73,7 @@ private: static inline int makeWord (const uint8 a, const uint8 b) { return (b << 8) | a; } GIFLoader (const GIFLoader&); - const GIFLoader& operator= (const GIFLoader&); + GIFLoader& operator= (const GIFLoader&); }; #endif // DOXYGEN diff --git a/src/gui/graphics/imaging/juce_CameraDevice.h b/src/gui/graphics/imaging/juce_CameraDevice.h index 1add99d603..06bfb43aa3 100644 --- a/src/gui/graphics/imaging/juce_CameraDevice.h +++ b/src/gui/graphics/imaging/juce_CameraDevice.h @@ -153,7 +153,7 @@ private: String name; CameraDevice (const CameraDevice&); - const CameraDevice& operator= (const CameraDevice&); + CameraDevice& operator= (const CameraDevice&); }; diff --git a/src/gui/graphics/imaging/juce_Image.h b/src/gui/graphics/imaging/juce_Image.h index 4d823dde69..7cc99d64d7 100644 --- a/src/gui/graphics/imaging/juce_Image.h +++ b/src/gui/graphics/imaging/juce_Image.h @@ -244,7 +244,7 @@ public: private: BitmapData (const BitmapData&); - const BitmapData& operator= (const BitmapData&); + BitmapData& operator= (const BitmapData&); }; /** Copies some pixel values to a rectangle of the image. @@ -296,7 +296,7 @@ protected: private: //============================================================================== - const Image& operator= (const Image&); + Image& operator= (const Image&); }; diff --git a/src/gui/graphics/imaging/juce_ImageCache.h b/src/gui/graphics/imaging/juce_ImageCache.h index 061c13a99c..665e512c17 100644 --- a/src/gui/graphics/imaging/juce_ImageCache.h +++ b/src/gui/graphics/imaging/juce_ImageCache.h @@ -167,7 +167,7 @@ private: ImageCache(); ImageCache (const ImageCache&); - const ImageCache& operator= (const ImageCache&); + ImageCache& operator= (const ImageCache&); ~ImageCache(); void timerCallback(); diff --git a/src/gui/graphics/imaging/juce_ImageConvolutionKernel.h b/src/gui/graphics/imaging/juce_ImageConvolutionKernel.h index 3e34665fc0..3846973243 100644 --- a/src/gui/graphics/imaging/juce_ImageConvolutionKernel.h +++ b/src/gui/graphics/imaging/juce_ImageConvolutionKernel.h @@ -124,7 +124,7 @@ private: // no reason not to implement these one day.. ImageConvolutionKernel (const ImageConvolutionKernel&); - const ImageConvolutionKernel& operator= (const ImageConvolutionKernel&); + ImageConvolutionKernel& operator= (const ImageConvolutionKernel&); }; diff --git a/src/io/files/juce_DirectoryIterator.h b/src/io/files/juce_DirectoryIterator.h index 91b41da7ef..7f5572a1da 100644 --- a/src/io/files/juce_DirectoryIterator.h +++ b/src/io/files/juce_DirectoryIterator.h @@ -109,7 +109,7 @@ private: ScopedPointer subIterator; DirectoryIterator (const DirectoryIterator&); - const DirectoryIterator& operator= (const DirectoryIterator&); + DirectoryIterator& operator= (const DirectoryIterator&); }; #endif // __JUCE_DIRECTORYITERATOR_JUCEHEADER__ diff --git a/src/io/files/juce_File.cpp b/src/io/files/juce_File.cpp index e6abda4ccf..93f319e408 100644 --- a/src/io/files/juce_File.cpp +++ b/src/io/files/juce_File.cpp @@ -221,13 +221,13 @@ File::File (const File& other) { } -const File& File::operator= (const String& newPath) +File& File::operator= (const String& newPath) { fullPath = parseAbsolutePath (newPath); return *this; } -const File& File::operator= (const File& other) +File& File::operator= (const File& other) { fullPath = other.fullPath; return *this; diff --git a/src/io/files/juce_File.h b/src/io/files/juce_File.h index dfd11eb4fb..508ef9d98f 100644 --- a/src/io/files/juce_File.h +++ b/src/io/files/juce_File.h @@ -88,10 +88,10 @@ public: On the Mac/Linux, the path can include "~" notation for referring to user home directories. */ - const File& operator= (const String& newFilePath); + File& operator= (const String& newFilePath); /** Copies from another file object. */ - const File& operator= (const File& otherFile); + File& operator= (const File& otherFile); //============================================================================== /** This static constant is used for referring to an 'invalid' file. */ diff --git a/src/io/files/juce_FileInputStream.h b/src/io/files/juce_FileInputStream.h index e1e28ff1e7..0fd7002dfc 100644 --- a/src/io/files/juce_FileInputStream.h +++ b/src/io/files/juce_FileInputStream.h @@ -71,7 +71,7 @@ private: bool needToSeek; FileInputStream (const FileInputStream&); - const FileInputStream& operator= (const FileInputStream&); + FileInputStream& operator= (const FileInputStream&); }; #endif // __JUCE_FILEINPUTSTREAM_JUCEHEADER__ diff --git a/src/io/files/juce_FileSearchPath.cpp b/src/io/files/juce_FileSearchPath.cpp index 3ce3a0866c..9b7cc8a7f3 100644 --- a/src/io/files/juce_FileSearchPath.cpp +++ b/src/io/files/juce_FileSearchPath.cpp @@ -50,7 +50,7 @@ FileSearchPath::~FileSearchPath() { } -const FileSearchPath& FileSearchPath::operator= (const String& path) +FileSearchPath& FileSearchPath::operator= (const String& path) { init (path); return *this; diff --git a/src/io/files/juce_FileSearchPath.h b/src/io/files/juce_FileSearchPath.h index 3c38b82434..58cae96c54 100644 --- a/src/io/files/juce_FileSearchPath.h +++ b/src/io/files/juce_FileSearchPath.h @@ -63,7 +63,7 @@ public: This search path is cleared and the semicolon- or comma-separated folders in this string are added instead. e.g. "/foo/bar;/foo/moose;/fish/moose" */ - const FileSearchPath& operator= (const String& path); + FileSearchPath& operator= (const String& path); //============================================================================== /** Returns the number of folders in this search path. diff --git a/src/io/files/juce_NamedPipe.h b/src/io/files/juce_NamedPipe.h index 4332d19379..3a626474a9 100644 --- a/src/io/files/juce_NamedPipe.h +++ b/src/io/files/juce_NamedPipe.h @@ -106,7 +106,7 @@ private: String currentPipeName; NamedPipe (const NamedPipe&); - const NamedPipe& operator= (const NamedPipe&); + NamedPipe& operator= (const NamedPipe&); bool openInternal (const String& pipeName, const bool createPipe); }; diff --git a/src/io/files/juce_TemporaryFile.h b/src/io/files/juce_TemporaryFile.h index f2c7922df7..952533ae48 100644 --- a/src/io/files/juce_TemporaryFile.h +++ b/src/io/files/juce_TemporaryFile.h @@ -153,7 +153,7 @@ private: void createTempFile (const File& parentDirectory, String name, const String& suffix, const int optionFlags); TemporaryFile (const TemporaryFile&); - const TemporaryFile& operator= (const TemporaryFile&); + TemporaryFile& operator= (const TemporaryFile&); }; #endif // __JUCE_TEMPORARYFILE_JUCEHEADER__ diff --git a/src/io/files/juce_ZipFile.cpp b/src/io/files/juce_ZipFile.cpp index e68e001492..ab869d100d 100644 --- a/src/io/files/juce_ZipFile.cpp +++ b/src/io/files/juce_ZipFile.cpp @@ -153,7 +153,7 @@ private: InputStream* inputStream; ZipInputStream (const ZipInputStream&); - const ZipInputStream& operator= (const ZipInputStream&); + ZipInputStream& operator= (const ZipInputStream&); }; diff --git a/src/io/files/juce_ZipFile.h b/src/io/files/juce_ZipFile.h index e3ce5a36da..2363ceb83f 100644 --- a/src/io/files/juce_ZipFile.h +++ b/src/io/files/juce_ZipFile.h @@ -165,7 +165,7 @@ private: static int compareElements (const ZipEntryInfo* first, const ZipEntryInfo* second); ZipFile (const ZipFile&); - const ZipFile& operator= (const ZipFile&); + ZipFile& operator= (const ZipFile&); }; #endif // __JUCE_ZIPFILE_JUCEHEADER__ diff --git a/src/io/network/juce_Socket.h b/src/io/network/juce_Socket.h index 81ee5f8519..a24d7a6a6d 100644 --- a/src/io/network/juce_Socket.h +++ b/src/io/network/juce_Socket.h @@ -166,7 +166,7 @@ private: StreamingSocket (const String& hostname, const int portNumber, const int handle); StreamingSocket (const StreamingSocket&); - const StreamingSocket& operator= (const StreamingSocket&); + StreamingSocket& operator= (const StreamingSocket&); }; @@ -297,7 +297,7 @@ private: DatagramSocket (const String& hostname, const int portNumber, const int handle, const int localPortNumber); DatagramSocket (const DatagramSocket&); - const DatagramSocket& operator= (const DatagramSocket&); + DatagramSocket& operator= (const DatagramSocket&); }; diff --git a/src/io/network/juce_URL.cpp b/src/io/network/juce_URL.cpp index 3e311945cc..31ddac4abe 100644 --- a/src/io/network/juce_URL.cpp +++ b/src/io/network/juce_URL.cpp @@ -81,7 +81,7 @@ URL::URL (const URL& other) { } -const URL& URL::operator= (const URL& other) +URL& URL::operator= (const URL& other) { url = other.url; postData = other.postData; @@ -443,7 +443,7 @@ private: } WebInputStream (const WebInputStream&); - const WebInputStream& operator= (const WebInputStream&); + WebInputStream& operator= (const WebInputStream&); }; InputStream* URL::createInputStream (const bool usePostCommand, diff --git a/src/io/network/juce_URL.h b/src/io/network/juce_URL.h index 3598fd93f5..d9ca231e76 100644 --- a/src/io/network/juce_URL.h +++ b/src/io/network/juce_URL.h @@ -55,7 +55,7 @@ public: ~URL(); /** Copies this URL from another one. */ - const URL& operator= (const URL& other); + URL& operator= (const URL& other); //============================================================================== /** Returns a string version of the URL. diff --git a/src/io/streams/juce_BufferedInputStream.h b/src/io/streams/juce_BufferedInputStream.h index 56128355d6..c40c8b9c6b 100644 --- a/src/io/streams/juce_BufferedInputStream.h +++ b/src/io/streams/juce_BufferedInputStream.h @@ -82,7 +82,7 @@ private: void ensureBuffered(); BufferedInputStream (const BufferedInputStream&); - const BufferedInputStream& operator= (const BufferedInputStream&); + BufferedInputStream& operator= (const BufferedInputStream&); }; #endif // __JUCE_BUFFEREDINPUTSTREAM_JUCEHEADER__ diff --git a/src/io/streams/juce_FileInputSource.h b/src/io/streams/juce_FileInputSource.h index 6ace7716f0..4691757de2 100644 --- a/src/io/streams/juce_FileInputSource.h +++ b/src/io/streams/juce_FileInputSource.h @@ -54,7 +54,7 @@ private: const File file; FileInputSource (const FileInputSource&); - const FileInputSource& operator= (const FileInputSource&); + FileInputSource& operator= (const FileInputSource&); }; diff --git a/src/io/streams/juce_GZIPCompressorOutputStream.h b/src/io/streams/juce_GZIPCompressorOutputStream.h index 278907eac7..a02d4ef510 100644 --- a/src/io/streams/juce_GZIPCompressorOutputStream.h +++ b/src/io/streams/juce_GZIPCompressorOutputStream.h @@ -80,7 +80,7 @@ private: bool doNextBlock(); GZIPCompressorOutputStream (const GZIPCompressorOutputStream&); - const GZIPCompressorOutputStream& operator= (const GZIPCompressorOutputStream&); + GZIPCompressorOutputStream& operator= (const GZIPCompressorOutputStream&); }; #endif // __JUCE_GZIPCOMPRESSOROUTPUTSTREAM_JUCEHEADER__ diff --git a/src/io/streams/juce_GZIPDecompressorInputStream.h b/src/io/streams/juce_GZIPDecompressorInputStream.h index 61658c5a9d..248e4d8e14 100644 --- a/src/io/streams/juce_GZIPDecompressorInputStream.h +++ b/src/io/streams/juce_GZIPDecompressorInputStream.h @@ -87,7 +87,7 @@ private: ScopedPointer helper; GZIPDecompressorInputStream (const GZIPDecompressorInputStream&); - const GZIPDecompressorInputStream& operator= (const GZIPDecompressorInputStream&); + GZIPDecompressorInputStream& operator= (const GZIPDecompressorInputStream&); }; #endif // __JUCE_GZIPDECOMPRESSORINPUTSTREAM_JUCEHEADER__ diff --git a/src/io/streams/juce_OutputStream.cpp b/src/io/streams/juce_OutputStream.cpp index 1aeda725ae..974807f4d2 100644 --- a/src/io/streams/juce_OutputStream.cpp +++ b/src/io/streams/juce_OutputStream.cpp @@ -170,7 +170,7 @@ void OutputStream::writeString (const String& text) // (This avoids using toUTF8() to prevent the memory bloat that it would leave behind // if lots of large, persistent strings were to be written to streams). const int numBytes = text.getNumBytesAsUTF8() + 1; - HeapBlock temp (numBytes); + HeapBlock temp (numBytes); text.copyToUTF8 (temp, numBytes); write (temp, numBytes); } diff --git a/src/io/streams/juce_SubregionStream.h b/src/io/streams/juce_SubregionStream.h index 680ad65d36..553536f350 100644 --- a/src/io/streams/juce_SubregionStream.h +++ b/src/io/streams/juce_SubregionStream.h @@ -87,7 +87,7 @@ private: const int64 startPositionInSourceStream, lengthOfSourceStream; SubregionStream (const SubregionStream&); - const SubregionStream& operator= (const SubregionStream&); + SubregionStream& operator= (const SubregionStream&); }; #endif // __JUCE_SUBREGIONSTREAM_JUCEHEADER__ diff --git a/src/native/mac/juce_iphone_Audio.cpp b/src/native/mac/juce_iphone_Audio.cpp index 4c70b078b8..25e5869b5e 100644 --- a/src/native/mac/juce_iphone_Audio.cpp +++ b/src/native/mac/juce_iphone_Audio.cpp @@ -519,7 +519,7 @@ private: } IPhoneAudioIODevice (const IPhoneAudioIODevice&); - const IPhoneAudioIODevice& operator= (const IPhoneAudioIODevice&); + IPhoneAudioIODevice& operator= (const IPhoneAudioIODevice&); }; @@ -578,7 +578,7 @@ public: private: IPhoneAudioIODeviceType (const IPhoneAudioIODeviceType&); - const IPhoneAudioIODeviceType& operator= (const IPhoneAudioIODeviceType&); + IPhoneAudioIODeviceType& operator= (const IPhoneAudioIODeviceType&); }; //============================================================================== diff --git a/src/native/mac/juce_mac_CoreAudio.cpp b/src/native/mac/juce_mac_CoreAudio.cpp index 26ee647509..cd1a651521 100644 --- a/src/native/mac/juce_mac_CoreAudio.cpp +++ b/src/native/mac/juce_mac_CoreAudio.cpp @@ -795,7 +795,7 @@ private: HeapBlock tempInputBuffers, tempOutputBuffers; CoreAudioInternal (const CoreAudioInternal&); - const CoreAudioInternal& operator= (const CoreAudioInternal&); + CoreAudioInternal& operator= (const CoreAudioInternal&); //============================================================================== static OSStatus audioIOProc (AudioDeviceID inDevice, @@ -1108,7 +1108,7 @@ private: } CoreAudioIODevice (const CoreAudioIODevice&); - const CoreAudioIODevice& operator= (const CoreAudioIODevice&); + CoreAudioIODevice& operator= (const CoreAudioIODevice&); }; //============================================================================== @@ -1310,7 +1310,7 @@ private: } CoreAudioIODeviceType (const CoreAudioIODeviceType&); - const CoreAudioIODeviceType& operator= (const CoreAudioIODeviceType&); + CoreAudioIODeviceType& operator= (const CoreAudioIODeviceType&); }; //============================================================================== diff --git a/src/native/mac/juce_mac_NSViewComponent.mm b/src/native/mac/juce_mac_NSViewComponent.mm index 8a0a4a2931..961c6b56b5 100644 --- a/src/native/mac/juce_mac_NSViewComponent.mm +++ b/src/native/mac/juce_mac_NSViewComponent.mm @@ -117,7 +117,7 @@ public: private: NSViewComponentInternal (const NSViewComponentInternal&); - const NSViewComponentInternal& operator= (const NSViewComponentInternal&); + NSViewComponentInternal& operator= (const NSViewComponentInternal&); }; //============================================================================== diff --git a/src/native/mac/juce_mac_NSViewComponentPeer.mm b/src/native/mac/juce_mac_NSViewComponentPeer.mm index c5d631f757..7a945f4ba9 100644 --- a/src/native/mac/juce_mac_NSViewComponentPeer.mm +++ b/src/native/mac/juce_mac_NSViewComponentPeer.mm @@ -70,21 +70,20 @@ END_JUCE_NAMESPACE - (void) keyDown: (NSEvent*) ev; - (void) keyUp: (NSEvent*) ev; -// Textinput Methods -- (void) insertText:(id)aString; // instead of keyDown: aString can be NSString or NSAttributedString -- (void) doCommandBySelector:(SEL)aSelector; -- (void) setMarkedText:(id)aString selectedRange:(NSRange)selRange; +// NSTextInput Methods +- (void) insertText: (id) aString; +- (void) doCommandBySelector: (SEL) aSelector; +- (void) setMarkedText: (id) aString selectedRange: (NSRange) selRange; - (void) unmarkText; - (BOOL) hasMarkedText; - (long) conversationIdentifier; -- (NSAttributedString *) attributedSubstringFromRange:(NSRange)theRange; +- (NSAttributedString*) attributedSubstringFromRange: (NSRange) theRange; - (NSRange) markedRange; - (NSRange) selectedRange; -- (NSRect) firstRectForCharacterRange:(NSRange)theRange; -- (unsigned int)characterIndexForPoint:(NSPoint)thePoint; +- (NSRect) firstRectForCharacterRange: (NSRange) theRange; +- (unsigned int) characterIndexForPoint: (NSPoint) thePoint; - (NSArray*) validAttributesForMarkedText; - - (void) flagsChanged: (NSEvent*) ev; #if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5 - (BOOL) performKeyEquivalent: (NSEvent*) ev; diff --git a/src/native/mac/juce_mac_OpenGLComponent.mm b/src/native/mac/juce_mac_OpenGLComponent.mm index 4c0c799328..a1961a0486 100644 --- a/src/native/mac/juce_mac_OpenGLComponent.mm +++ b/src/native/mac/juce_mac_OpenGLComponent.mm @@ -254,7 +254,7 @@ private: //============================================================================== WindowedGLContext (const WindowedGLContext&); - const WindowedGLContext& operator= (const WindowedGLContext&); + WindowedGLContext& operator= (const WindowedGLContext&); }; //============================================================================== diff --git a/src/text/juce_String.cpp b/src/text/juce_String.cpp index dc88348760..18de6c3a7d 100644 --- a/src/text/juce_String.cpp +++ b/src/text/juce_String.cpp @@ -489,7 +489,7 @@ int64 String::hashCode64() const throw() } //============================================================================== -const String& String::operator= (const String& other) throw() +String& String::operator= (const String& other) throw() { if (this != &other) { @@ -777,8 +777,8 @@ OutputStream& JUCE_PUBLIC_FUNCTION operator<< (OutputStream& stream, const Stri // (This avoids using toUTF8() to prevent the memory bloat that it would leave behind // if lots of large, persistent strings were to be written to streams). const int numBytes = text.getNumBytesAsUTF8(); - HeapBlock temp (numBytes); - text.copyToUTF8 (temp, numBytes); + HeapBlock temp (numBytes + 1); + text.copyToUTF8 (temp, numBytes + 1); stream.write (temp, numBytes); return stream; } diff --git a/src/text/juce_String.h b/src/text/juce_String.h index 2ae490d3f1..f4a0884569 100644 --- a/src/text/juce_String.h +++ b/src/text/juce_String.h @@ -106,7 +106,7 @@ public: // Assignment and concatenation operators.. /** Replaces this string's contents with another string. */ - const String& operator= (const String& other) throw(); + String& operator= (const String& other) throw(); /** Appends another string at the end of this one. */ String& operator+= (const tchar* const textToAppend); @@ -1041,7 +1041,7 @@ public: int nextIndex; Concatenator (const Concatenator&); - const Concatenator& operator= (const Concatenator&); + Concatenator& operator= (const Concatenator&); }; //============================================================================== diff --git a/src/text/juce_StringArray.cpp b/src/text/juce_StringArray.cpp index a49d18c3f3..56ff8e4123 100644 --- a/src/text/juce_StringArray.cpp +++ b/src/text/juce_StringArray.cpp @@ -71,7 +71,7 @@ StringArray::StringArray (const char** const initialStrings) add (initialStrings [i++]); } -const StringArray& StringArray::operator= (const StringArray& other) +StringArray& StringArray::operator= (const StringArray& other) { strings = other.strings; return *this; diff --git a/src/text/juce_StringArray.h b/src/text/juce_StringArray.h index c31f388083..2b0da4922a 100644 --- a/src/text/juce_StringArray.h +++ b/src/text/juce_StringArray.h @@ -88,7 +88,7 @@ public: ~StringArray(); /** Copies the contents of another string array into this one */ - const StringArray& operator= (const StringArray& other); + StringArray& operator= (const StringArray& other); //============================================================================== /** Compares two arrays. diff --git a/src/text/juce_StringPairArray.cpp b/src/text/juce_StringPairArray.cpp index 9511caaf1b..e09e130f67 100644 --- a/src/text/juce_StringPairArray.cpp +++ b/src/text/juce_StringPairArray.cpp @@ -48,11 +48,10 @@ StringPairArray::~StringPairArray() throw() { } -const StringPairArray& StringPairArray::operator= (const StringPairArray& other) throw() +StringPairArray& StringPairArray::operator= (const StringPairArray& other) throw() { keys = other.keys; values = other.values; - return *this; } diff --git a/src/text/juce_StringPairArray.h b/src/text/juce_StringPairArray.h index 6c702d9084..32d5846a42 100644 --- a/src/text/juce_StringPairArray.h +++ b/src/text/juce_StringPairArray.h @@ -49,7 +49,7 @@ public: ~StringPairArray() throw(); /** Copies the contents of another string array into this one */ - const StringPairArray& operator= (const StringPairArray& other) throw(); + StringPairArray& operator= (const StringPairArray& other) throw(); //============================================================================== /** Compares two arrays. diff --git a/src/text/juce_XmlElement.cpp b/src/text/juce_XmlElement.cpp index bf3b9d75a5..3d9650a6d9 100644 --- a/src/text/juce_XmlElement.cpp +++ b/src/text/juce_XmlElement.cpp @@ -78,7 +78,7 @@ XmlElement::XmlElement (const XmlElement& other) throw() copyChildrenAndAttributesFrom (other); } -const XmlElement& XmlElement::operator= (const XmlElement& other) throw() +XmlElement& XmlElement::operator= (const XmlElement& other) throw() { if (this != &other) { diff --git a/src/text/juce_XmlElement.h b/src/text/juce_XmlElement.h index df75510c01..5a9512adce 100644 --- a/src/text/juce_XmlElement.h +++ b/src/text/juce_XmlElement.h @@ -151,7 +151,7 @@ public: XmlElement (const XmlElement& other) throw(); /** Creates a (deep) copy of another element. */ - const XmlElement& operator= (const XmlElement& other) throw(); + XmlElement& operator= (const XmlElement& other) throw(); /** Deleting an XmlElement will also delete all its child elements. */ ~XmlElement() throw(); @@ -693,7 +693,7 @@ private: XmlAttributeNode* next; private: - const XmlAttributeNode& operator= (const XmlAttributeNode&); + XmlAttributeNode& operator= (const XmlAttributeNode&); }; XmlAttributeNode* attributes; diff --git a/src/threads/juce_InterProcessLock.h b/src/threads/juce_InterProcessLock.h index cc0d0b5c86..126e127349 100644 --- a/src/threads/juce_InterProcessLock.h +++ b/src/threads/juce_InterProcessLock.h @@ -85,7 +85,7 @@ private: int reentrancyLevel; InterProcessLock (const InterProcessLock&); - const InterProcessLock& operator= (const InterProcessLock&); + InterProcessLock& operator= (const InterProcessLock&); }; diff --git a/src/threads/juce_ReadWriteLock.h b/src/threads/juce_ReadWriteLock.h index fa10804191..e0cdb79f0a 100644 --- a/src/threads/juce_ReadWriteLock.h +++ b/src/threads/juce_ReadWriteLock.h @@ -133,7 +133,7 @@ private: mutable Array readerThreads; ReadWriteLock (const ReadWriteLock&); - const ReadWriteLock& operator= (const ReadWriteLock&); + ReadWriteLock& operator= (const ReadWriteLock&); }; diff --git a/src/threads/juce_ScopedLock.h b/src/threads/juce_ScopedLock.h index ee92cb36da..d4e1f6af71 100644 --- a/src/threads/juce_ScopedLock.h +++ b/src/threads/juce_ScopedLock.h @@ -83,7 +83,7 @@ private: const CriticalSection& lock_; ScopedLock (const ScopedLock&); - const ScopedLock& operator= (const ScopedLock&); + ScopedLock& operator= (const ScopedLock&); }; @@ -156,7 +156,7 @@ private: const CriticalSection& lock_; ScopedUnlock (const ScopedLock&); - const ScopedUnlock& operator= (const ScopedUnlock&); + ScopedUnlock& operator= (const ScopedUnlock&); }; diff --git a/src/threads/juce_ScopedReadLock.h b/src/threads/juce_ScopedReadLock.h index ac875e7eb8..f363b97660 100644 --- a/src/threads/juce_ScopedReadLock.h +++ b/src/threads/juce_ScopedReadLock.h @@ -83,7 +83,7 @@ private: const ReadWriteLock& lock_; ScopedReadLock (const ScopedReadLock&); - const ScopedReadLock& operator= (const ScopedReadLock&); + ScopedReadLock& operator= (const ScopedReadLock&); }; diff --git a/src/threads/juce_ScopedTryLock.h b/src/threads/juce_ScopedTryLock.h index 64c7f5853d..b55bf759cf 100644 --- a/src/threads/juce_ScopedTryLock.h +++ b/src/threads/juce_ScopedTryLock.h @@ -98,7 +98,7 @@ private: const bool lockWasSuccessful; ScopedTryLock (const ScopedTryLock&); - const ScopedTryLock& operator= (const ScopedTryLock&); + ScopedTryLock& operator= (const ScopedTryLock&); }; diff --git a/src/threads/juce_ScopedWriteLock.h b/src/threads/juce_ScopedWriteLock.h index a711b66424..403d823d3e 100644 --- a/src/threads/juce_ScopedWriteLock.h +++ b/src/threads/juce_ScopedWriteLock.h @@ -83,7 +83,7 @@ private: const ReadWriteLock& lock_; ScopedWriteLock (const ScopedWriteLock&); - const ScopedWriteLock& operator= (const ScopedWriteLock&); + ScopedWriteLock& operator= (const ScopedWriteLock&); }; diff --git a/src/threads/juce_Thread.h b/src/threads/juce_Thread.h index 7b71c934cc..bb6e812986 100644 --- a/src/threads/juce_Thread.h +++ b/src/threads/juce_Thread.h @@ -286,7 +286,7 @@ private: static CriticalSection runningThreadsLock; Thread (const Thread&); - const Thread& operator= (const Thread&); + Thread& operator= (const Thread&); }; #endif // __JUCE_THREAD_JUCEHEADER__ diff --git a/src/threads/juce_ThreadPool.h b/src/threads/juce_ThreadPool.h index ed47d31a82..b7fed1d209 100644 --- a/src/threads/juce_ThreadPool.h +++ b/src/threads/juce_ThreadPool.h @@ -136,7 +136,7 @@ private: bool shouldStop, isActive, shouldBeDeleted; ThreadPoolJob (const ThreadPoolJob&); - const ThreadPoolJob& operator= (const ThreadPoolJob&); + ThreadPoolJob& operator= (const ThreadPoolJob&); }; @@ -312,7 +312,7 @@ private: bool runNextJob(); ThreadPool (const ThreadPool&); - const ThreadPool& operator= (const ThreadPool&); + ThreadPool& operator= (const ThreadPool&); }; diff --git a/src/threads/juce_TimeSliceThread.h b/src/threads/juce_TimeSliceThread.h index 5309656000..2595fa80c0 100644 --- a/src/threads/juce_TimeSliceThread.h +++ b/src/threads/juce_TimeSliceThread.h @@ -130,7 +130,7 @@ private: bool clientsChanged; TimeSliceThread (const TimeSliceThread&); - const TimeSliceThread& operator= (const TimeSliceThread&); + TimeSliceThread& operator= (const TimeSliceThread&); }; diff --git a/src/threads/juce_WaitableEvent.h b/src/threads/juce_WaitableEvent.h index d38f9b892d..db33e98724 100644 --- a/src/threads/juce_WaitableEvent.h +++ b/src/threads/juce_WaitableEvent.h @@ -93,7 +93,7 @@ private: void* internal; WaitableEvent (const WaitableEvent&); - const WaitableEvent& operator= (const WaitableEvent&); + WaitableEvent& operator= (const WaitableEvent&); }; diff --git a/src/utilities/juce_DeletedAtShutdown.h b/src/utilities/juce_DeletedAtShutdown.h index ee618c42d9..bde98eebf8 100644 --- a/src/utilities/juce_DeletedAtShutdown.h +++ b/src/utilities/juce_DeletedAtShutdown.h @@ -64,7 +64,7 @@ public: private: DeletedAtShutdown (const DeletedAtShutdown&); - const DeletedAtShutdown& operator= (const DeletedAtShutdown&); + DeletedAtShutdown& operator= (const DeletedAtShutdown&); }; #endif // __JUCE_DELETEDATSHUTDOWN_JUCEHEADER__ diff --git a/src/utilities/juce_FileBasedDocument.h b/src/utilities/juce_FileBasedDocument.h index a148cc10ea..c31b3eeb8d 100644 --- a/src/utilities/juce_FileBasedDocument.h +++ b/src/utilities/juce_FileBasedDocument.h @@ -291,7 +291,7 @@ private: String fileExtension, fileWildcard, openFileDialogTitle, saveFileDialogTitle; FileBasedDocument (const FileBasedDocument&); - const FileBasedDocument& operator= (const FileBasedDocument&); + FileBasedDocument& operator= (const FileBasedDocument&); }; diff --git a/src/utilities/juce_PropertiesFile.h b/src/utilities/juce_PropertiesFile.h index b87e6442d3..bddc8028a9 100644 --- a/src/utilities/juce_PropertiesFile.h +++ b/src/utilities/juce_PropertiesFile.h @@ -177,7 +177,7 @@ private: void timerCallback(); PropertiesFile (const PropertiesFile&); - const PropertiesFile& operator= (const PropertiesFile&); + PropertiesFile& operator= (const PropertiesFile&); }; #endif // __JUCE_PROPERTIESFILE_JUCEHEADER__ diff --git a/src/utilities/juce_SelectedItemSet.h b/src/utilities/juce_SelectedItemSet.h index d095296364..0c9dbb243e 100644 --- a/src/utilities/juce_SelectedItemSet.h +++ b/src/utilities/juce_SelectedItemSet.h @@ -67,7 +67,7 @@ public: } /** Creates a copy of another set. */ - const SelectedItemSet& operator= (const SelectedItemSet& other) + SelectedItemSet& operator= (const SelectedItemSet& other) { if (selectedItems != other.selectedItems) { diff --git a/src/utilities/juce_UndoManager.h b/src/utilities/juce_UndoManager.h index a66089fb79..90ed565e63 100644 --- a/src/utilities/juce_UndoManager.h +++ b/src/utilities/juce_UndoManager.h @@ -228,7 +228,7 @@ private: // disallow copy constructor UndoManager (const UndoManager&); - const UndoManager& operator= (const UndoManager&); + UndoManager& operator= (const UndoManager&); };