commit 7a056bbcf84f9437d7a00a5659be5bb6008bfe1d parent f80f8bf316fc66a1d320a5e04c868626136edc7c Author: falkTX <falktx@falktx.com> Date: Mon, 24 Jun 2019 12:00:17 +0200 Don't return reference in getFixedValue function Signed-off-by: falkTX <falktx@falktx.com> Diffstat:
M | distrho/DistrhoPlugin.hpp | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/distrho/DistrhoPlugin.hpp b/distrho/DistrhoPlugin.hpp @@ -226,7 +226,7 @@ struct ParameterRanges { /** Get a fixed value within range. */ - const float& getFixedValue(const float& value) const noexcept + float getFixedValue(const float& value) const noexcept { if (value <= min) return min;