Browse Source

Suppressed a VS2013 assignment operator compiler warning

tags/2021-05-28
tpoole 8 years ago
parent
commit
098110bc5f
3 changed files with 9 additions and 0 deletions
  1. +3
    -0
      modules/juce_core/containers/juce_Variant.h
  2. +3
    -0
      modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.cpp
  3. +3
    -0
      modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.h

+ 3
- 0
modules/juce_core/containers/juce_Variant.h View File

@@ -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;


+ 3
- 0
modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.cpp View File

@@ -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))


+ 3
- 0
modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.h View File

@@ -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;


Loading…
Cancel
Save