Browse Source

Don't return reference in getFixedValue function

Signed-off-by: falkTX <falktx@falktx.com>
pull/130/head
falkTX 5 years ago
parent
commit
7a056bbcf8
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      distrho/DistrhoPlugin.hpp

+ 1
- 1
distrho/DistrhoPlugin.hpp View File

@@ -226,7 +226,7 @@ struct ParameterRanges {
/** /**
Get a fixed value within range. Get a fixed value within range.
*/ */
const float& getFixedValue(const float& value) const noexcept
float getFixedValue(const float& value) const noexcept
{ {
if (value <= min) if (value <= min)
return min; return min;


Loading…
Cancel
Save