summaryrefslogtreecommitdiffhomepage
path: root/options/slider.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'options/slider.hpp')
-rw-r--r--options/slider.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/options/slider.hpp b/options/slider.hpp
index 1dd9ec7c..abf39685 100644
--- a/options/slider.hpp
+++ b/options/slider.hpp
@@ -34,11 +34,11 @@ namespace options
slider_value& operator=(const slider_value& v) = default;
slider_value(const slider_value& v) = default;
- slider_value() : slider_value{0, 0, 0} {};
+ slider_value() : slider_value{0, 0, 0} {}
bool operator==(const slider_value& v) const;
bool operator!=(const slider_value& v) const;
- operator double() const { return cur_; }
+ constexpr operator double() const { return cur_; }
double cur() const { return cur_; }
double min() const { return min_; }
double max() const { return max_; }