summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--filter-accela/ftnoir_filter_accela.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter-accela/ftnoir_filter_accela.cpp b/filter-accela/ftnoir_filter_accela.cpp
index dea39eb7..5d1671ae 100644
--- a/filter-accela/ftnoir_filter_accela.cpp
+++ b/filter-accela/ftnoir_filter_accela.cpp
@@ -35,7 +35,7 @@ void accela::filter(const double* input, double *output)
return;
}
-#define cast(x) (static_cast<slider_value&&>((x)))
+#define cast(x) (static_cast<const slider_value&>((x)))
const double rot_t = cast(s.rot_sensitivity).cur();
const double trans_t = cast(s.trans_sensitivity).cur();