From c2c98d3fdbcc132109f54aaded7afecbf164dddd Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 20 Feb 2020 09:32:44 +0000 Subject: [PATCH] Updated some incorrect documentation in ValueWithDefault --- modules/juce_data_structures/values/juce_ValueWithDefault.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_data_structures/values/juce_ValueWithDefault.h b/modules/juce_data_structures/values/juce_ValueWithDefault.h index f3b58d39ac..50ae3274d0 100644 --- a/modules/juce_data_structures/values/juce_ValueWithDefault.h +++ b/modules/juce_data_structures/values/juce_ValueWithDefault.h @@ -31,7 +31,7 @@ namespace juce /** This class acts as a wrapper around a property inside a ValueTree. - If the property inside the ValueTree is missing or empty the ValueWithDefault will automatically + If the property inside the ValueTree is missing the ValueWithDefault will automatically return a default value, which can be specified when initialising the ValueWithDefault. @tags{DataStructures} @@ -89,7 +89,7 @@ public: } //============================================================================== - /** Returns the current value of the property. If the property does not exist or is empty, + /** Returns the current value of the property. If the property does not exist this returns the default value. */ var get() const noexcept