diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2016-10-23 15:19:04 +0200 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-10-23 15:19:04 +0200 | 
| commit | 3e86371a69943039ce1d287b0a4f37f8726e637f (patch) | |
| tree | 3fd327ad2ca290b4f0c5cc137437e3e9e260fe97 | |
| parent | 63ec72558049b0682377ddeeec5be5c7ab383b97 (diff) | |
compat/util: these type params are unused
| -rw-r--r-- | compat/util.hpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/compat/util.hpp b/compat/util.hpp index 3a28ce90..f9e9dea9 100644 --- a/compat/util.hpp +++ b/compat/util.hpp @@ -25,7 +25,7 @@ void run_in_thread_async(QObject* obj, F&& fun)  namespace detail { -template<typename t, typename u, typename w, typename n> +template<typename n>  inline auto clamp_(n val, n min, n max) -> n  {      if (val > max) @@ -40,7 +40,7 @@ inline auto clamp_(n val, n min, n max) -> n  template<typename t, typename u, typename w>  inline auto clamp(const t& val, const u& min, const w& max) -> decltype(val * min * max)  { -    return ::detail::clamp_<t, u, w, decltype(val * min * max)>(val, min, max); +    return ::detail::clamp_<decltype(val * min * max)>(val, min, max);  }  namespace detail { | 
