Browse Source

Added some base class initialisers to keep gcc 4.8.2 happy

tags/2021-05-28
jules 11 years ago
parent
commit
d909b5aa2a
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      modules/juce_core/containers/juce_DynamicObject.cpp
  2. +1
    -1
      modules/juce_core/javascript/juce_Javascript.cpp

+ 1
- 1
modules/juce_core/containers/juce_DynamicObject.cpp View File

@@ -31,7 +31,7 @@ DynamicObject::DynamicObject()
}
DynamicObject::DynamicObject (const DynamicObject& other)
: properties (other.properties)
: ReferenceCountedObject(), properties (other.properties)
{
}


+ 1
- 1
modules/juce_core/javascript/juce_Javascript.cpp View File

@@ -768,7 +768,7 @@ struct JavascriptEngine::RootObject : public DynamicObject
{
FunctionObject() noexcept {}
FunctionObject (const FunctionObject& other) : functionCode (other.functionCode)
FunctionObject (const FunctionObject& other) : DynamicObject(), functionCode (other.functionCode)
{
ExpressionTreeBuilder tb (functionCode);
tb.parseFunctionParamsAndBody (*this);


Loading…
Cancel
Save