From d7c268c886226c22e7df0d9aeb901dc62f2f94ac Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 28 Mar 2017 23:51:45 +0200 Subject: filter/accela: embiggen "using" declaration scope --- filter-accela/ftnoir_filter_accela.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/filter-accela/ftnoir_filter_accela.cpp b/filter-accela/ftnoir_filter_accela.cpp index acf1e267..ccf74b7e 100644 --- a/filter-accela/ftnoir_filter_accela.cpp +++ b/filter-accela/ftnoir_filter_accela.cpp @@ -11,6 +11,12 @@ #include #include "api/plugin-api.hpp" +using std::fabs; +using std::sqrt; +using std::pow; +using std::copysign; +using std::max; + constexpr double settings_accela::rot_gains[16][2]; constexpr double settings_accela::pos_gains[16][2]; @@ -51,12 +57,6 @@ static inline constexpr T signum(T x) return T((T(0) < x) - (x < T(0))); } -using std::fabs; -using std::sqrt; -using std::pow; -using std::copysign; -using std::max; - template static void do_deltas(const double* deltas, double* output, F&& fun) { -- cgit v1.2.3