summaryrefslogtreecommitdiffhomepage
path: root/filter-accela
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-12-25 11:38:56 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-12-25 11:38:56 +0100
commit1fafd300b92d4d2cffd5867158b0a8b128422c9d (patch)
treef41fa29d3088ce3bac2a5d77090183dff9579e82 /filter-accela
parent3dd0eb7683df4bf1ef3818662bc1717fa68f2022 (diff)
filter/accela: fix compile error on clang
Diffstat (limited to 'filter-accela')
-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();