From 098110bc5fe89e32405e6418a271c2d193d5778a Mon Sep 17 00:00:00 2001 From: tpoole Date: Thu, 4 May 2017 09:54:52 +0100 Subject: [PATCH] Suppressed a VS2013 assignment operator compiler warning --- modules/juce_core/containers/juce_Variant.h | 3 +++ .../positioning/juce_RelativeCoordinatePositioner.cpp | 3 +++ .../positioning/juce_RelativeCoordinatePositioner.h | 3 +++ 3 files changed, 9 insertions(+) diff --git a/modules/juce_core/containers/juce_Variant.h b/modules/juce_core/containers/juce_Variant.h index eeb20f0252..d227a6a046 100644 --- a/modules/juce_core/containers/juce_Variant.h +++ b/modules/juce_core/containers/juce_Variant.h @@ -47,6 +47,9 @@ public: { NativeFunctionArgs (const var& thisObject, const var* args, int numArgs) noexcept; + // Suppress a VS2013 compiler warning + NativeFunctionArgs& operator= (const NativeFunctionArgs&) = delete; + const var& thisObject; const var* arguments; int numArguments; diff --git a/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.cpp b/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.cpp index d198829f56..7260710de1 100644 --- a/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.cpp +++ b/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.cpp @@ -28,6 +28,9 @@ struct MarkerListScope : public Expression::Scope { MarkerListScope (Component& comp) : component (comp) {} + // Suppress a VS2013 compiler warning + MarkerListScope& operator= (const MarkerListScope&) = delete; + Expression getSymbolValue (const String& symbol) const override { switch (RelativeCoordinate::StandardStrings::getTypeOf (symbol)) diff --git a/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.h b/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.h index 0845e6359b..74abf43601 100644 --- a/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.h +++ b/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.h @@ -58,6 +58,9 @@ public: public: ComponentScope (Component&); + // Suppress a VS2013 compiler warning + ComponentScope& operator= (const ComponentScope&) = delete; + Expression getSymbolValue (const String& symbol) const; void visitRelativeScope (const String& scopeName, Visitor&) const; String getScopeUID() const;