diff --git a/extras/audio plugin host/Source/FilterGraph.h b/extras/audio plugin host/Source/FilterGraph.h index 41780319c7..38bc7c217a 100644 --- a/extras/audio plugin host/Source/FilterGraph.h +++ b/extras/audio plugin host/Source/FilterGraph.h @@ -56,7 +56,7 @@ public: private: FilterGraph& owner; - const FilterConnection& operator= (const FilterConnection&); + FilterConnection& operator= (const FilterConnection&); }; @@ -116,7 +116,7 @@ private: const OwnedArray & connections); FilterInGraph (const FilterInGraph&); - const FilterInGraph& operator= (const FilterInGraph&); + FilterInGraph& operator= (const FilterInGraph&); }; */ @@ -202,7 +202,7 @@ private: void createNodeFromXml (const XmlElement& xml); FilterGraph (const FilterGraph&); - const FilterGraph& operator= (const FilterGraph&); + FilterGraph& operator= (const FilterGraph&); }; @@ -269,7 +269,7 @@ private: void update(); FilterGraphPlayer (const FilterGraphPlayer&); - const FilterGraphPlayer& operator= (const FilterGraphPlayer&); + FilterGraphPlayer& operator= (const FilterGraphPlayer&); }; */ diff --git a/extras/audio plugin host/Source/GraphEditorPanel.cpp b/extras/audio plugin host/Source/GraphEditorPanel.cpp index 4e579ee593..29700f1a83 100644 --- a/extras/audio plugin host/Source/GraphEditorPanel.cpp +++ b/extras/audio plugin host/Source/GraphEditorPanel.cpp @@ -202,7 +202,7 @@ private: FilterGraph& graph; PinComponent (const PinComponent&); - const PinComponent& operator= (const PinComponent&); + PinComponent& operator= (const PinComponent&); GraphEditorPanel* getGraphPanel() const throw() { @@ -456,7 +456,7 @@ private: } FilterComponent (const FilterComponent&); - const FilterComponent& operator= (const FilterComponent&); + FilterComponent& operator= (const FilterComponent&); }; //============================================================================== @@ -705,7 +705,7 @@ private: } ConnectorComponent (const ConnectorComponent&); - const ConnectorComponent& operator= (const ConnectorComponent&); + ConnectorComponent& operator= (const ConnectorComponent&); }; diff --git a/extras/audio plugin host/Source/GraphEditorPanel.h b/extras/audio plugin host/Source/GraphEditorPanel.h index 39967d8fb2..eefbaf9362 100644 --- a/extras/audio plugin host/Source/GraphEditorPanel.h +++ b/extras/audio plugin host/Source/GraphEditorPanel.h @@ -72,7 +72,7 @@ private: ConnectorComponent* draggingConnector; GraphEditorPanel (const GraphEditorPanel&); - const GraphEditorPanel& operator= (const GraphEditorPanel&); + GraphEditorPanel& operator= (const GraphEditorPanel&); }; diff --git a/extras/audio plugins/wrapper/RTAS/juce_RTAS_Wrapper.cpp b/extras/audio plugins/wrapper/RTAS/juce_RTAS_Wrapper.cpp index e90393a014..24bcc6bdd6 100644 --- a/extras/audio plugins/wrapper/RTAS/juce_RTAS_Wrapper.cpp +++ b/extras/audio plugins/wrapper/RTAS/juce_RTAS_Wrapper.cpp @@ -878,7 +878,7 @@ private: const int index; JucePluginControl (const JucePluginControl&); - const JucePluginControl& operator= (const JucePluginControl&); + JucePluginControl& operator= (const JucePluginControl&); }; }; diff --git a/extras/audio plugins/wrapper/Standalone/juce_StandaloneFilterWindow.h b/extras/audio plugins/wrapper/Standalone/juce_StandaloneFilterWindow.h index c45a5ee362..6473697781 100644 --- a/extras/audio plugins/wrapper/Standalone/juce_StandaloneFilterWindow.h +++ b/extras/audio plugins/wrapper/Standalone/juce_StandaloneFilterWindow.h @@ -84,7 +84,7 @@ private: void deleteFilter(); StandaloneFilterWindow (const StandaloneFilterWindow&); - const StandaloneFilterWindow& operator= (const StandaloneFilterWindow&); + StandaloneFilterWindow& operator= (const StandaloneFilterWindow&); }; #endif // __JUCE_STANDALONEFILTERWINDOW_JUCEHEADER__ diff --git a/extras/browser plugins/wrapper/juce_ActiveX_GlueCode.cpp b/extras/browser plugins/wrapper/juce_ActiveX_GlueCode.cpp index c27303e7d3..9f2cbb1dff 100644 --- a/extras/browser plugins/wrapper/juce_ActiveX_GlueCode.cpp +++ b/extras/browser plugins/wrapper/juce_ActiveX_GlueCode.cpp @@ -168,7 +168,7 @@ private: OwnedArray knownIdentifiers; IDispatchHelper (const IDispatchHelper&); - const IDispatchHelper& operator= (const IDispatchHelper&); + IDispatchHelper& operator= (const IDispatchHelper&); }; //============================================================================== @@ -750,7 +750,7 @@ private: IDispatchHelper iDispatchHelper; JuceActiveXObject (const JuceActiveXObject&); - const JuceActiveXObject& operator= (const JuceActiveXObject&); + JuceActiveXObject& operator= (const JuceActiveXObject&); }; //============================================================================== @@ -790,7 +790,7 @@ private: int refCount; JuceActiveXObjectFactory (const JuceActiveXObjectFactory&); - const JuceActiveXObjectFactory& operator= (const JuceActiveXObjectFactory&); + JuceActiveXObjectFactory& operator= (const JuceActiveXObjectFactory&); }; //============================================================================== diff --git a/extras/example projects/Source/MainComponent.h b/extras/example projects/Source/MainComponent.h index 51da8124df..0e8c39b6e4 100644 --- a/extras/example projects/Source/MainComponent.h +++ b/extras/example projects/Source/MainComponent.h @@ -68,7 +68,7 @@ private: //============================================================================== // (prevent copy constructor and operator= being generated..) MainComponent (const MainComponent&); - const MainComponent& operator= (const MainComponent&); + MainComponent& operator= (const MainComponent&); }; diff --git a/extras/juce demo/Source/demos/AudioDemoLatencyPage.cpp b/extras/juce demo/Source/demos/AudioDemoLatencyPage.cpp index ae5bcf2f63..9297660ccc 100644 --- a/extras/juce demo/Source/demos/AudioDemoLatencyPage.cpp +++ b/extras/juce demo/Source/demos/AudioDemoLatencyPage.cpp @@ -272,7 +272,7 @@ private: } LatencyTester (const LatencyTester&); - const LatencyTester& operator= (const LatencyTester&); + LatencyTester& operator= (const LatencyTester&); }; diff --git a/extras/juce demo/Source/demos/AudioDemoSetupPage.h b/extras/juce demo/Source/demos/AudioDemoSetupPage.h index d24f567fa4..ee574301b7 100644 --- a/extras/juce demo/Source/demos/AudioDemoSetupPage.h +++ b/extras/juce demo/Source/demos/AudioDemoSetupPage.h @@ -65,7 +65,7 @@ private: //============================================================================== // (prevent copy constructor and operator= being generated..) AudioDemoSetupPage (const AudioDemoSetupPage&); - const AudioDemoSetupPage& operator= (const AudioDemoSetupPage&); + AudioDemoSetupPage& operator= (const AudioDemoSetupPage&); }; diff --git a/extras/juce demo/Source/demos/AudioDemoTabComponent.h b/extras/juce demo/Source/demos/AudioDemoTabComponent.h index cb773ebc53..768befdce9 100644 --- a/extras/juce demo/Source/demos/AudioDemoTabComponent.h +++ b/extras/juce demo/Source/demos/AudioDemoTabComponent.h @@ -52,7 +52,7 @@ private: float accumulator; LiveAudioInputDisplayComp (const LiveAudioInputDisplayComp&); - const LiveAudioInputDisplayComp& operator= (const LiveAudioInputDisplayComp&); + LiveAudioInputDisplayComp& operator= (const LiveAudioInputDisplayComp&); }; //[/Headers] diff --git a/extras/juce demo/Source/demos/WebBrowserDemo.cpp b/extras/juce demo/Source/demos/WebBrowserDemo.cpp index 835bf166af..ca09bf3295 100644 --- a/extras/juce demo/Source/demos/WebBrowserDemo.cpp +++ b/extras/juce demo/Source/demos/WebBrowserDemo.cpp @@ -59,7 +59,7 @@ private: TextEditor* addressTextBox; DemoBrowserComponent (DemoBrowserComponent&); - const DemoBrowserComponent& operator= (const DemoBrowserComponent&); + DemoBrowserComponent& operator= (const DemoBrowserComponent&); }; diff --git a/extras/the jucer/src/model/components/jucer_ComponentTypeHandler.h b/extras/the jucer/src/model/components/jucer_ComponentTypeHandler.h index b3438323c2..4b2627f1b5 100644 --- a/extras/the jucer/src/model/components/jucer_ComponentTypeHandler.h +++ b/extras/the jucer/src/model/components/jucer_ComponentTypeHandler.h @@ -140,7 +140,7 @@ protected: private: ComponentTypeHandler (const ComponentTypeHandler&); - const ComponentTypeHandler& operator= (const ComponentTypeHandler&); + ComponentTypeHandler& operator= (const ComponentTypeHandler&); }; diff --git a/extras/the jucer/src/model/components/jucer_ComponentUndoableAction.h b/extras/the jucer/src/model/components/jucer_ComponentUndoableAction.h index e2d3dd9f58..150fdb75ce 100644 --- a/extras/the jucer/src/model/components/jucer_ComponentUndoableAction.h +++ b/extras/the jucer/src/model/components/jucer_ComponentUndoableAction.h @@ -86,7 +86,7 @@ protected: private: ComponentUndoableAction (const ComponentUndoableAction&); - const ComponentUndoableAction& operator= (const ComponentUndoableAction&); + ComponentUndoableAction& operator= (const ComponentUndoableAction&); }; diff --git a/extras/the jucer/src/model/jucer_BinaryResources.cpp b/extras/the jucer/src/model/jucer_BinaryResources.cpp index 303dd3ce39..4a41092462 100644 --- a/extras/the jucer/src/model/jucer_BinaryResources.cpp +++ b/extras/the jucer/src/model/jucer_BinaryResources.cpp @@ -36,7 +36,7 @@ BinaryResources::~BinaryResources() { } -const BinaryResources& BinaryResources::operator= (const BinaryResources& other) +BinaryResources& BinaryResources::operator= (const BinaryResources& other) { for (int i = 0; i < other.resources.size(); ++i) add (other.resources[i]->name, diff --git a/extras/the jucer/src/model/jucer_BinaryResources.h b/extras/the jucer/src/model/jucer_BinaryResources.h index 8aaabae151..04453843e4 100644 --- a/extras/the jucer/src/model/jucer_BinaryResources.h +++ b/extras/the jucer/src/model/jucer_BinaryResources.h @@ -41,7 +41,7 @@ public: BinaryResources(); ~BinaryResources(); - const BinaryResources& operator= (const BinaryResources& other); + BinaryResources& operator= (const BinaryResources& other); void loadFromCpp (const File& cppFileLocation, const String& cpp); diff --git a/extras/the jucer/src/model/jucer_ComponentLayout.cpp b/extras/the jucer/src/model/jucer_ComponentLayout.cpp index 16bd411124..90b94faec4 100644 --- a/extras/the jucer/src/model/jucer_ComponentLayout.cpp +++ b/extras/the jucer/src/model/jucer_ComponentLayout.cpp @@ -123,7 +123,7 @@ private: } AddCompAction (const AddCompAction&); - const AddCompAction& operator= (const AddCompAction&); + AddCompAction& operator= (const AddCompAction&); }; //============================================================================== diff --git a/extras/the jucer/src/model/jucer_GeneratedCode.h b/extras/the jucer/src/model/jucer_GeneratedCode.h index 7492e536e9..93f6b6b5c0 100644 --- a/extras/the jucer/src/model/jucer_GeneratedCode.h +++ b/extras/the jucer/src/model/jucer_GeneratedCode.h @@ -96,7 +96,7 @@ private: int suffix; GeneratedCode (const GeneratedCode&); - const GeneratedCode& operator= (const GeneratedCode&); + GeneratedCode& operator= (const GeneratedCode&); }; diff --git a/extras/the jucer/src/model/jucer_PaintRoutine.cpp b/extras/the jucer/src/model/jucer_PaintRoutine.cpp index dd449590a8..9dc28627c3 100644 --- a/extras/the jucer/src/model/jucer_PaintRoutine.cpp +++ b/extras/the jucer/src/model/jucer_PaintRoutine.cpp @@ -136,7 +136,7 @@ private: } AddXmlElementAction (const AddXmlElementAction&); - const AddXmlElementAction& operator= (const AddXmlElementAction&); + AddXmlElementAction& operator= (const AddXmlElementAction&); }; PaintElement* PaintRoutine::addElementFromXml (const XmlElement& xml, const int index, const bool undoable) diff --git a/extras/the jucer/src/model/paintelements/jucer_FillType.cpp b/extras/the jucer/src/model/paintelements/jucer_FillType.cpp index 674d57bf1b..2845489314 100644 --- a/extras/the jucer/src/model/paintelements/jucer_FillType.cpp +++ b/extras/the jucer/src/model/paintelements/jucer_FillType.cpp @@ -48,7 +48,7 @@ JucerFillType::JucerFillType (const JucerFillType& other) imageAnchor = other.imageAnchor; } -const JucerFillType& JucerFillType::operator= (const JucerFillType& other) +JucerFillType& JucerFillType::operator= (const JucerFillType& other) { ImageCache::release (image); image = 0; diff --git a/extras/the jucer/src/model/paintelements/jucer_FillType.h b/extras/the jucer/src/model/paintelements/jucer_FillType.h index 8fb4f2e91e..2c08f5d6fa 100644 --- a/extras/the jucer/src/model/paintelements/jucer_FillType.h +++ b/extras/the jucer/src/model/paintelements/jucer_FillType.h @@ -39,7 +39,7 @@ public: //============================================================================== JucerFillType(); JucerFillType (const JucerFillType& other); - const JucerFillType& operator= (const JucerFillType& other); + JucerFillType& operator= (const JucerFillType& other); ~JucerFillType(); bool operator== (const JucerFillType& other) const throw(); diff --git a/extras/the jucer/src/model/paintelements/jucer_PaintElementPath.cpp b/extras/the jucer/src/model/paintelements/jucer_PaintElementPath.cpp index 05c44f1936..b2d71be41e 100644 --- a/extras/the jucer/src/model/paintelements/jucer_PaintElementPath.cpp +++ b/extras/the jucer/src/model/paintelements/jucer_PaintElementPath.cpp @@ -1406,7 +1406,7 @@ PathPoint::PathPoint (const PathPoint& other) pos [2] = other.pos [2]; } -const PathPoint& PathPoint::operator= (const PathPoint& other) +PathPoint& PathPoint::operator= (const PathPoint& other) { owner = other.owner; type = other.type; diff --git a/extras/the jucer/src/model/paintelements/jucer_PaintElementPath.h b/extras/the jucer/src/model/paintelements/jucer_PaintElementPath.h index d730bfc644..fbef4dee20 100644 --- a/extras/the jucer/src/model/paintelements/jucer_PaintElementPath.h +++ b/extras/the jucer/src/model/paintelements/jucer_PaintElementPath.h @@ -41,7 +41,7 @@ public: //============================================================================== PathPoint (PaintElementPath* const owner); PathPoint (const PathPoint& other); - const PathPoint& operator= (const PathPoint& other); + PathPoint& operator= (const PathPoint& other); ~PathPoint(); //============================================================================== diff --git a/extras/the jucer/src/model/paintelements/jucer_PaintElementUndoableAction.h b/extras/the jucer/src/model/paintelements/jucer_PaintElementUndoableAction.h index ff5fc260c3..07a7830720 100644 --- a/extras/the jucer/src/model/paintelements/jucer_PaintElementUndoableAction.h +++ b/extras/the jucer/src/model/paintelements/jucer_PaintElementUndoableAction.h @@ -146,7 +146,7 @@ private: } PaintElementUndoableAction (const PaintElementUndoableAction&); - const PaintElementUndoableAction& operator= (const PaintElementUndoableAction&); + PaintElementUndoableAction& operator= (const PaintElementUndoableAction&); }; diff --git a/extras/the jucer/src/ui/jucer_ResourceEditorPanel.cpp b/extras/the jucer/src/ui/jucer_ResourceEditorPanel.cpp index ff96e3db23..18cbec8d00 100644 --- a/extras/the jucer/src/ui/jucer_ResourceEditorPanel.cpp +++ b/extras/the jucer/src/ui/jucer_ResourceEditorPanel.cpp @@ -210,7 +210,7 @@ public: private: const int columnId, direction; ResourceSorter (const ResourceSorter&); - const ResourceSorter& operator= (const ResourceSorter&); + ResourceSorter& operator= (const ResourceSorter&); }; void ResourceEditorPanel::sortOrderChanged (int newSortColumnId, const bool isForwards) diff --git a/extras/the jucer/src/utility/jucer_UtilityFunctions.cpp b/extras/the jucer/src/utility/jucer_UtilityFunctions.cpp index a55a8e6ae3..58e8b5390c 100644 --- a/extras/the jucer/src/utility/jucer_UtilityFunctions.cpp +++ b/extras/the jucer/src/utility/jucer_UtilityFunctions.cpp @@ -619,7 +619,7 @@ RelativePositionedRectangle::RelativePositionedRectangle (const RelativePosition { } -const RelativePositionedRectangle& RelativePositionedRectangle::operator= (const RelativePositionedRectangle& other) +RelativePositionedRectangle& RelativePositionedRectangle::operator= (const RelativePositionedRectangle& other) { rect = other.rect; relativeToX = other.relativeToX; diff --git a/extras/the jucer/src/utility/jucer_UtilityFunctions.h b/extras/the jucer/src/utility/jucer_UtilityFunctions.h index 3b18ebf762..14f128e979 100644 --- a/extras/the jucer/src/utility/jucer_UtilityFunctions.h +++ b/extras/the jucer/src/utility/jucer_UtilityFunctions.h @@ -41,7 +41,7 @@ struct RelativePositionedRectangle //============================================================================== RelativePositionedRectangle(); RelativePositionedRectangle (const RelativePositionedRectangle&); - const RelativePositionedRectangle& operator= (const RelativePositionedRectangle&); + RelativePositionedRectangle& operator= (const RelativePositionedRectangle&); ~RelativePositionedRectangle(); //============================================================================== diff --git a/juce_amalgamated.cpp b/juce_amalgamated.cpp index ddc3d089dd..d601efe71a 100644 --- a/juce_amalgamated.cpp +++ b/juce_amalgamated.cpp @@ -214531,7 +214531,7 @@ public: private: WindowsBitmapImage (const WindowsBitmapImage&); - const WindowsBitmapImage& operator= (const WindowsBitmapImage&); + WindowsBitmapImage& operator= (const WindowsBitmapImage&); }; long improbableWindowNumber = 0xf965aa01; // also referenced by messaging.cpp @@ -215096,7 +215096,7 @@ private: WindowsBitmapImage* image; TemporaryImage (const TemporaryImage&); - const TemporaryImage& operator= (const TemporaryImage&); + TemporaryImage& operator= (const TemporaryImage&); }; TemporaryImage offscreenImageGenerator; @@ -215939,7 +215939,7 @@ private: } JuceDropTarget (const JuceDropTarget&); - const JuceDropTarget& operator= (const JuceDropTarget&); + JuceDropTarget& operator= (const JuceDropTarget&); }; void doSettingChange() @@ -216390,7 +216390,7 @@ private: } Win32ComponentPeer (const Win32ComponentPeer&); - const Win32ComponentPeer& operator= (const Win32ComponentPeer&); + Win32ComponentPeer& operator= (const Win32ComponentPeer&); }; ComponentPeer* Component::createNewPeer (int styleFlags, void* /*nativeWindowToAttachTo*/) @@ -217026,7 +217026,7 @@ private: } JuceEnumFormatEtc (const JuceEnumFormatEtc&); - const JuceEnumFormatEtc& operator= (const JuceEnumFormatEtc&); + JuceEnumFormatEtc& operator= (const JuceEnumFormatEtc&); }; class JuceDataObject : public IDataObject @@ -217037,7 +217037,7 @@ class JuceDataObject : public IDataObject int refCount; JuceDataObject (const JuceDataObject&); - const JuceDataObject& operator= (const JuceDataObject&); + JuceDataObject& operator= (const JuceDataObject&); public: JuceDataObject (JuceDropSource* const dropSource_, @@ -217432,7 +217432,7 @@ private: bool bold, italic; FontDCHolder (const FontDCHolder&); - const FontDCHolder& operator= (const FontDCHolder&); + FontDCHolder& operator= (const FontDCHolder&); }; juce_ImplementSingleton_SingleThreaded (FontDCHolder); @@ -217700,7 +217700,7 @@ public: private: FPComponentHolder (const FPComponentHolder&); - const FPComponentHolder& operator= (const FPComponentHolder&); + FPComponentHolder& operator= (const FPComponentHolder&); }; void FileChooser::showPlatformDialog (Array& results, @@ -219140,7 +219140,7 @@ private: int refCount; EventHandler (const EventHandler&); - const EventHandler& operator= (const EventHandler&); + EventHandler& operator= (const EventHandler&); }; }; @@ -219740,7 +219740,7 @@ private: } WindowedGLContext (const WindowedGLContext&); - const WindowedGLContext& operator= (const WindowedGLContext&); + WindowedGLContext& operator= (const WindowedGLContext&); }; OpenGLContext* OpenGLContext::createContextForWindow (Component* const component, @@ -221284,7 +221284,7 @@ class DeinitialiseTimer : private Timer, private DeletedAtShutdown { DeinitialiseTimer (const DeinitialiseTimer&); - const DeinitialiseTimer& operator= (const DeinitialiseTimer&); + DeinitialiseTimer& operator= (const DeinitialiseTimer&); public: DeinitialiseTimer() @@ -222466,7 +222466,7 @@ private: } MidiInThread (const MidiInThread&); - const MidiInThread& operator= (const MidiInThread&); + MidiInThread& operator= (const MidiInThread&); }; static void CALLBACK midiInCallback (HMIDIIN, @@ -224688,7 +224688,7 @@ private: } ASIOAudioIODeviceType (const ASIOAudioIODeviceType&); - const ASIOAudioIODeviceType& operator= (const ASIOAudioIODeviceType&); + ASIOAudioIODeviceType& operator= (const ASIOAudioIODeviceType&); }; AudioIODeviceType* juce_createAudioIODeviceType_ASIO() @@ -225856,7 +225856,7 @@ private: CriticalSection startStopLock; DSoundAudioIODevice (const DSoundAudioIODevice&); - const DSoundAudioIODevice& operator= (const DSoundAudioIODevice&); + DSoundAudioIODevice& operator= (const DSoundAudioIODevice&); const String openDevice (const BitArray& inputChannels, const BitArray& outputChannels, @@ -226168,7 +226168,7 @@ private: } DSoundAudioIODeviceType (const DSoundAudioIODeviceType&); - const DSoundAudioIODeviceType& operator= (const DSoundAudioIODeviceType&); + DSoundAudioIODeviceType& operator= (const DSoundAudioIODeviceType&); }; const String DSoundAudioIODevice::openDevice (const BitArray& inputChannels, @@ -227220,7 +227220,7 @@ private: } WASAPIAudioIODevice (const WASAPIAudioIODevice&); - const WASAPIAudioIODevice& operator= (const WASAPIAudioIODevice&); + WASAPIAudioIODevice& operator= (const WASAPIAudioIODevice&); }; class WASAPIAudioIODeviceType : public AudioIODeviceType @@ -227388,7 +227388,7 @@ private: } WASAPIAudioIODeviceType (const WASAPIAudioIODeviceType&); - const WASAPIAudioIODeviceType& operator= (const WASAPIAudioIODeviceType&); + WASAPIAudioIODeviceType& operator= (const WASAPIAudioIODeviceType&); }; AudioIODeviceType* juce_createAudioIODeviceType_WASAPI() @@ -228044,7 +228044,7 @@ private: DShowCameraDeviceInteral& owner; GrabberCallback (const GrabberCallback&); - const GrabberCallback& operator= (const GrabberCallback&); + GrabberCallback& operator= (const GrabberCallback&); }; ComSmartPtr callback; @@ -228052,7 +228052,7 @@ private: CriticalSection listenerLock; DShowCameraDeviceInteral (const DShowCameraDeviceInteral&); - const DShowCameraDeviceInteral& operator= (const DShowCameraDeviceInteral&); + DShowCameraDeviceInteral& operator= (const DShowCameraDeviceInteral&); }; CameraDevice::CameraDevice (const String& name_, int /*index*/) @@ -233336,7 +233336,7 @@ private: bool useARGBImagesForRendering, shmCompletedDrawing; #endif LinuxRepaintManager (const LinuxRepaintManager&); - const LinuxRepaintManager& operator= (const LinuxRepaintManager&); + LinuxRepaintManager& operator= (const LinuxRepaintManager&); }; ScopedPointer repainter; @@ -234597,7 +234597,7 @@ private: OpenGLPixelFormat pixelFormat; WindowedGLContext (const WindowedGLContext&); - const WindowedGLContext& operator= (const WindowedGLContext&); + WindowedGLContext& operator= (const WindowedGLContext&); }; OpenGLContext* OpenGLContext::createContextForWindow (Component* const component, @@ -235693,7 +235693,7 @@ private: } ALSAAudioIODeviceType (const ALSAAudioIODeviceType&); - const ALSAAudioIODeviceType& operator= (const ALSAAudioIODeviceType&); + ALSAAudioIODeviceType& operator= (const ALSAAudioIODeviceType&); }; AudioIODeviceType* juce_createAudioIODeviceType_ALSA() @@ -236267,7 +236267,7 @@ private: bool hasScanned; JackAudioIODeviceType (const JackAudioIODeviceType&); - const JackAudioIODeviceType& operator= (const JackAudioIODeviceType&); + JackAudioIODeviceType& operator= (const JackAudioIODeviceType&); }; AudioIODeviceType* juce_createAudioIODeviceType_JACK() diff --git a/juce_amalgamated.h b/juce_amalgamated.h index 3653821376..bde8e39329 100644 --- a/juce_amalgamated.h +++ b/juce_amalgamated.h @@ -17856,7 +17856,7 @@ public: private: DirectXPluginFormat (const DirectXPluginFormat&); - const DirectXPluginFormat& operator= (const DirectXPluginFormat&); + DirectXPluginFormat& operator= (const DirectXPluginFormat&); }; #endif @@ -17894,7 +17894,7 @@ public: private: LADSPAPluginFormat (const LADSPAPluginFormat&); - const LADSPAPluginFormat& operator= (const LADSPAPluginFormat&); + LADSPAPluginFormat& operator= (const LADSPAPluginFormat&); }; #endif @@ -25904,7 +25904,7 @@ private: bool mouseEventsAllowed; ActiveXControlComponent (const ActiveXControlComponent&); - const ActiveXControlComponent& operator= (const ActiveXControlComponent&); + ActiveXControlComponent& operator= (const ActiveXControlComponent&); void setControlBounds (const Rectangle& bounds) const; void setControlVisible (const bool b) const; diff --git a/src/audio/plugins/formats/juce_DirectXPluginFormat.h b/src/audio/plugins/formats/juce_DirectXPluginFormat.h index 2d397f2351..701b596a4b 100644 --- a/src/audio/plugins/formats/juce_DirectXPluginFormat.h +++ b/src/audio/plugins/formats/juce_DirectXPluginFormat.h @@ -58,7 +58,7 @@ public: private: DirectXPluginFormat (const DirectXPluginFormat&); - const DirectXPluginFormat& operator= (const DirectXPluginFormat&); + DirectXPluginFormat& operator= (const DirectXPluginFormat&); }; #endif diff --git a/src/audio/plugins/formats/juce_LADSPAPluginFormat.h b/src/audio/plugins/formats/juce_LADSPAPluginFormat.h index e5509d9579..b35efac7dd 100644 --- a/src/audio/plugins/formats/juce_LADSPAPluginFormat.h +++ b/src/audio/plugins/formats/juce_LADSPAPluginFormat.h @@ -58,7 +58,7 @@ public: private: LADSPAPluginFormat (const LADSPAPluginFormat&); - const LADSPAPluginFormat& operator= (const LADSPAPluginFormat&); + LADSPAPluginFormat& operator= (const LADSPAPluginFormat&); }; #endif diff --git a/src/gui/components/special/juce_ActiveXControlComponent.h b/src/gui/components/special/juce_ActiveXControlComponent.h index 7b716aca37..01709c05fc 100644 --- a/src/gui/components/special/juce_ActiveXControlComponent.h +++ b/src/gui/components/special/juce_ActiveXControlComponent.h @@ -121,7 +121,7 @@ private: bool mouseEventsAllowed; ActiveXControlComponent (const ActiveXControlComponent&); - const ActiveXControlComponent& operator= (const ActiveXControlComponent&); + ActiveXControlComponent& operator= (const ActiveXControlComponent&); void setControlBounds (const Rectangle& bounds) const; void setControlVisible (const bool b) const; diff --git a/src/native/linux/juce_linux_Audio.cpp b/src/native/linux/juce_linux_Audio.cpp index 26bad4fcf8..93d243f9fd 100644 --- a/src/native/linux/juce_linux_Audio.cpp +++ b/src/native/linux/juce_linux_Audio.cpp @@ -985,7 +985,7 @@ private: } ALSAAudioIODeviceType (const ALSAAudioIODeviceType&); - const ALSAAudioIODeviceType& operator= (const ALSAAudioIODeviceType&); + ALSAAudioIODeviceType& operator= (const ALSAAudioIODeviceType&); }; //============================================================================== diff --git a/src/native/linux/juce_linux_JackAudio.cpp b/src/native/linux/juce_linux_JackAudio.cpp index d90ff24b08..bbadfe759d 100644 --- a/src/native/linux/juce_linux_JackAudio.cpp +++ b/src/native/linux/juce_linux_JackAudio.cpp @@ -594,7 +594,7 @@ private: bool hasScanned; JackAudioIODeviceType (const JackAudioIODeviceType&); - const JackAudioIODeviceType& operator= (const JackAudioIODeviceType&); + JackAudioIODeviceType& operator= (const JackAudioIODeviceType&); }; //============================================================================== diff --git a/src/native/linux/juce_linux_Windowing.cpp b/src/native/linux/juce_linux_Windowing.cpp index 51b3c87a9e..3022b997c6 100644 --- a/src/native/linux/juce_linux_Windowing.cpp +++ b/src/native/linux/juce_linux_Windowing.cpp @@ -1861,7 +1861,7 @@ private: bool useARGBImagesForRendering, shmCompletedDrawing; #endif LinuxRepaintManager (const LinuxRepaintManager&); - const LinuxRepaintManager& operator= (const LinuxRepaintManager&); + LinuxRepaintManager& operator= (const LinuxRepaintManager&); }; ScopedPointer repainter; @@ -3141,7 +3141,7 @@ private: //============================================================================== WindowedGLContext (const WindowedGLContext&); - const WindowedGLContext& operator= (const WindowedGLContext&); + WindowedGLContext& operator= (const WindowedGLContext&); }; //============================================================================== diff --git a/src/native/windows/juce_win32_ASIO.cpp b/src/native/windows/juce_win32_ASIO.cpp index efb826990b..ada06cf94a 100644 --- a/src/native/windows/juce_win32_ASIO.cpp +++ b/src/native/windows/juce_win32_ASIO.cpp @@ -1929,7 +1929,7 @@ private: } ASIOAudioIODeviceType (const ASIOAudioIODeviceType&); - const ASIOAudioIODeviceType& operator= (const ASIOAudioIODeviceType&); + ASIOAudioIODeviceType& operator= (const ASIOAudioIODeviceType&); }; AudioIODeviceType* juce_createAudioIODeviceType_ASIO() diff --git a/src/native/windows/juce_win32_AudioCDReader.cpp b/src/native/windows/juce_win32_AudioCDReader.cpp index efcc8e1784..63b63c9ade 100644 --- a/src/native/windows/juce_win32_AudioCDReader.cpp +++ b/src/native/windows/juce_win32_AudioCDReader.cpp @@ -1559,7 +1559,7 @@ class DeinitialiseTimer : private Timer, private DeletedAtShutdown { DeinitialiseTimer (const DeinitialiseTimer&); - const DeinitialiseTimer& operator= (const DeinitialiseTimer&); + DeinitialiseTimer& operator= (const DeinitialiseTimer&); public: DeinitialiseTimer() diff --git a/src/native/windows/juce_win32_CameraDevice.cpp b/src/native/windows/juce_win32_CameraDevice.cpp index 7dfbf274b3..6d6529bf6e 100644 --- a/src/native/windows/juce_win32_CameraDevice.cpp +++ b/src/native/windows/juce_win32_CameraDevice.cpp @@ -670,7 +670,7 @@ private: DShowCameraDeviceInteral& owner; GrabberCallback (const GrabberCallback&); - const GrabberCallback& operator= (const GrabberCallback&); + GrabberCallback& operator= (const GrabberCallback&); }; ComSmartPtr callback; @@ -679,7 +679,7 @@ private: //============================================================================== DShowCameraDeviceInteral (const DShowCameraDeviceInteral&); - const DShowCameraDeviceInteral& operator= (const DShowCameraDeviceInteral&); + DShowCameraDeviceInteral& operator= (const DShowCameraDeviceInteral&); }; diff --git a/src/native/windows/juce_win32_DirectSound.cpp b/src/native/windows/juce_win32_DirectSound.cpp index 42fae39fcb..f29cb6d0d6 100644 --- a/src/native/windows/juce_win32_DirectSound.cpp +++ b/src/native/windows/juce_win32_DirectSound.cpp @@ -1174,7 +1174,7 @@ private: CriticalSection startStopLock; DSoundAudioIODevice (const DSoundAudioIODevice&); - const DSoundAudioIODevice& operator= (const DSoundAudioIODevice&); + DSoundAudioIODevice& operator= (const DSoundAudioIODevice&); const String openDevice (const BitArray& inputChannels, const BitArray& outputChannels, @@ -1493,7 +1493,7 @@ private: //============================================================================== DSoundAudioIODeviceType (const DSoundAudioIODeviceType&); - const DSoundAudioIODeviceType& operator= (const DSoundAudioIODeviceType&); + DSoundAudioIODeviceType& operator= (const DSoundAudioIODeviceType&); }; //============================================================================== diff --git a/src/native/windows/juce_win32_FileChooser.cpp b/src/native/windows/juce_win32_FileChooser.cpp index 722bd922da..89fecc9b93 100644 --- a/src/native/windows/juce_win32_FileChooser.cpp +++ b/src/native/windows/juce_win32_FileChooser.cpp @@ -139,7 +139,7 @@ public: private: FPComponentHolder (const FPComponentHolder&); - const FPComponentHolder& operator= (const FPComponentHolder&); + FPComponentHolder& operator= (const FPComponentHolder&); }; //============================================================================== diff --git a/src/native/windows/juce_win32_Fonts.cpp b/src/native/windows/juce_win32_Fonts.cpp index 09904fb601..52a059df54 100644 --- a/src/native/windows/juce_win32_Fonts.cpp +++ b/src/native/windows/juce_win32_Fonts.cpp @@ -242,7 +242,7 @@ private: bool bold, italic; FontDCHolder (const FontDCHolder&); - const FontDCHolder& operator= (const FontDCHolder&); + FontDCHolder& operator= (const FontDCHolder&); }; juce_ImplementSingleton_SingleThreaded (FontDCHolder); diff --git a/src/native/windows/juce_win32_Midi.cpp b/src/native/windows/juce_win32_Midi.cpp index 2343806b0d..959e859e88 100644 --- a/src/native/windows/juce_win32_Midi.cpp +++ b/src/native/windows/juce_win32_Midi.cpp @@ -291,7 +291,7 @@ private: } MidiInThread (const MidiInThread&); - const MidiInThread& operator= (const MidiInThread&); + MidiInThread& operator= (const MidiInThread&); }; static void CALLBACK midiInCallback (HMIDIIN, diff --git a/src/native/windows/juce_win32_OpenGLComponent.cpp b/src/native/windows/juce_win32_OpenGLComponent.cpp index c14a6b0f27..610e55a167 100644 --- a/src/native/windows/juce_win32_OpenGLComponent.cpp +++ b/src/native/windows/juce_win32_OpenGLComponent.cpp @@ -494,7 +494,7 @@ private: } WindowedGLContext (const WindowedGLContext&); - const WindowedGLContext& operator= (const WindowedGLContext&); + WindowedGLContext& operator= (const WindowedGLContext&); }; //============================================================================== diff --git a/src/native/windows/juce_win32_WASAPI.cpp b/src/native/windows/juce_win32_WASAPI.cpp index 08c05474e8..e86dedc034 100644 --- a/src/native/windows/juce_win32_WASAPI.cpp +++ b/src/native/windows/juce_win32_WASAPI.cpp @@ -938,7 +938,7 @@ private: //============================================================================== WASAPIAudioIODevice (const WASAPIAudioIODevice&); - const WASAPIAudioIODevice& operator= (const WASAPIAudioIODevice&); + WASAPIAudioIODevice& operator= (const WASAPIAudioIODevice&); }; @@ -1112,7 +1112,7 @@ private: //============================================================================== WASAPIAudioIODeviceType (const WASAPIAudioIODeviceType&); - const WASAPIAudioIODeviceType& operator= (const WASAPIAudioIODeviceType&); + WASAPIAudioIODeviceType& operator= (const WASAPIAudioIODeviceType&); }; //============================================================================== diff --git a/src/native/windows/juce_win32_WebBrowserComponent.cpp b/src/native/windows/juce_win32_WebBrowserComponent.cpp index efaed6f15f..115b2915c8 100644 --- a/src/native/windows/juce_win32_WebBrowserComponent.cpp +++ b/src/native/windows/juce_win32_WebBrowserComponent.cpp @@ -226,7 +226,7 @@ private: int refCount; EventHandler (const EventHandler&); - const EventHandler& operator= (const EventHandler&); + EventHandler& operator= (const EventHandler&); }; }; diff --git a/src/native/windows/juce_win32_Windowing.cpp b/src/native/windows/juce_win32_Windowing.cpp index 44ed3eb86b..612739b098 100644 --- a/src/native/windows/juce_win32_Windowing.cpp +++ b/src/native/windows/juce_win32_Windowing.cpp @@ -328,7 +328,7 @@ public: private: WindowsBitmapImage (const WindowsBitmapImage&); - const WindowsBitmapImage& operator= (const WindowsBitmapImage&); + WindowsBitmapImage& operator= (const WindowsBitmapImage&); }; //============================================================================== @@ -904,7 +904,7 @@ private: WindowsBitmapImage* image; TemporaryImage (const TemporaryImage&); - const TemporaryImage& operator= (const TemporaryImage&); + TemporaryImage& operator= (const TemporaryImage&); }; TemporaryImage offscreenImageGenerator; @@ -1754,7 +1754,7 @@ private: } JuceDropTarget (const JuceDropTarget&); - const JuceDropTarget& operator= (const JuceDropTarget&); + JuceDropTarget& operator= (const JuceDropTarget&); }; void doSettingChange() @@ -2213,7 +2213,7 @@ private: } Win32ComponentPeer (const Win32ComponentPeer&); - const Win32ComponentPeer& operator= (const Win32ComponentPeer&); + Win32ComponentPeer& operator= (const Win32ComponentPeer&); }; ComponentPeer* Component::createNewPeer (int styleFlags, void* /*nativeWindowToAttachTo*/) @@ -2884,7 +2884,7 @@ private: } JuceEnumFormatEtc (const JuceEnumFormatEtc&); - const JuceEnumFormatEtc& operator= (const JuceEnumFormatEtc&); + JuceEnumFormatEtc& operator= (const JuceEnumFormatEtc&); }; class JuceDataObject : public IDataObject @@ -2895,7 +2895,7 @@ class JuceDataObject : public IDataObject int refCount; JuceDataObject (const JuceDataObject&); - const JuceDataObject& operator= (const JuceDataObject&); + JuceDataObject& operator= (const JuceDataObject&); public: JuceDataObject (JuceDropSource* const dropSource_,