summaryrefslogtreecommitdiffhomepage
path: root/opentrack-compat/options.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack-compat/options.hpp')
-rw-r--r--opentrack-compat/options.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack-compat/options.hpp b/opentrack-compat/options.hpp
index b8db411a..20f26d26 100644
--- a/opentrack-compat/options.hpp
+++ b/opentrack-compat/options.hpp
@@ -61,7 +61,7 @@ namespace options
slider_value();
slider_value& operator=(const slider_value& v);
bool operator==(const slider_value& v) const;
- operator double() const;
+ operator double() const { return cur_; }
double cur() const { return cur_; }
double min() const { return min_; }
double max() const { return max_; }