summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--filter-accela/ftnoir_filter_accela.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/filter-accela/ftnoir_filter_accela.h b/filter-accela/ftnoir_filter_accela.h
index 7fd62f88..d03dd155 100644
--- a/filter-accela/ftnoir_filter_accela.h
+++ b/filter-accela/ftnoir_filter_accela.h
@@ -29,21 +29,9 @@ private:
Timer t;
template <typename T>
- static inline int signum(T x, std::false_type)
- {
- return T(0) < x;
- }
-
- template <typename T>
- static inline int signum(T x, std::true_type)
- {
- return (T(0) < x) - (x < T(0));
- }
-
- template <typename T>
static inline int signum(T x)
{
- return signum(x, std::is_signed<T>());
+ return (T(0) < x) - (x < T(0));
}
};