diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-28 23:51:45 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-28 23:51:45 +0200 |
commit | d7c268c886226c22e7df0d9aeb901dc62f2f94ac (patch) | |
tree | c7e4f3f1305e87b67a95602abe6f33ece94b0ad5 /filter-accela | |
parent | 68b8813965cdead743a70e8ee47458d8f1e21dd4 (diff) |
filter/accela: embiggen "using" declaration scope
Diffstat (limited to 'filter-accela')
-rw-r--r-- | filter-accela/ftnoir_filter_accela.cpp | 12 |
1 files 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 <QMutexLocker> #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<int N = 3, typename F> static void do_deltas(const double* deltas, double* output, F&& fun) { |