Browse Source

Minor clean-ups.

tags/2021-05-28
jules 12 years ago
parent
commit
522fd40e46
2 changed files with 5 additions and 5 deletions
  1. +4
    -4
      modules/juce_data_structures/values/juce_Value.cpp
  2. +1
    -1
      modules/juce_data_structures/values/juce_ValueTree.cpp

+ 4
- 4
modules/juce_data_structures/values/juce_Value.cpp View File

@@ -162,7 +162,7 @@ public:
private:
var value;
JUCE_DECLARE_NON_COPYABLE (SimpleValueSource)
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (SimpleValueSource)
};
@@ -172,10 +172,10 @@ Value::Value()
{
}
Value::Value (ValueSource* const value_)
: value (value_)
Value::Value (ValueSource* const v)
: value (v)
{
jassert (value_ != nullptr);
jassert (v != nullptr);
}
Value::Value (const var& initialValue)


+ 1
- 1
modules/juce_data_structures/values/juce_ValueTree.cpp View File

@@ -811,7 +811,7 @@ private:
void valueTreeChildOrderChanged (ValueTree&) {}
void valueTreeParentChanged (ValueTree&) {}
JUCE_DECLARE_NON_COPYABLE (ValueTreePropertyValueSource)
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ValueTreePropertyValueSource)
};
Value ValueTree::getPropertyAsValue (const Identifier& name, UndoManager* const undoManager)


Loading…
Cancel
Save