summaryrefslogtreecommitdiff
path: root/plugingui/humanizerframecontent.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2018-06-08 16:43:46 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2018-06-08 16:43:46 +0200
commit59ec43d9b88dc50f2860b0171f0e4c43e90ee290 (patch)
tree22a6550c775d7951512d44069faad6a854767310 /plugingui/humanizerframecontent.cc
parent42003bd802d868182bf040e86f2cf2773b8ee851 (diff)
Fix const in newly added functions.
Diffstat (limited to 'plugingui/humanizerframecontent.cc')
-rw-r--r--plugingui/humanizerframecontent.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/humanizerframecontent.cc b/plugingui/humanizerframecontent.cc
index 51725d6..b074746 100644
--- a/plugingui/humanizerframecontent.cc
+++ b/plugingui/humanizerframecontent.cc
@@ -82,12 +82,12 @@ HumanizerframeContent::HumanizerframeContent(Widget* parent,
this, &HumanizerframeContent::stddevKnobValueChanged);
}
-float HumanizerframeContent::stddevSettingsToKnob(float value)
+float HumanizerframeContent::stddevSettingsToKnob(float value) const
{
return (value - 0.5f) / 3.0f;
}
-float HumanizerframeContent::stddevKnobToSettings(float value)
+float HumanizerframeContent::stddevKnobToSettings(float value) const
{
return value * 3.0f + 0.5f;
}