summaryrefslogtreecommitdiffhomepage
path: root/opentrack-compat/options.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-06-20 10:21:28 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-06-20 10:21:28 +0200
commitafb4f51a5526822681b147d5cbf37b6f818c49ca (patch)
treed512ce775b8477f8988c66c269fe9cb7f733700d /opentrack-compat/options.hpp
parentb6c3fc5ba220bec945cff5fe8085059ac4d1de8a (diff)
compat/options: inline method
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_; }