summaryrefslogtreecommitdiff
path: root/AK/FixedPoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/FixedPoint.h')
-rw-r--r--AK/FixedPoint.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/AK/FixedPoint.h b/AK/FixedPoint.h
index f50e514b35..a67aa81f0c 100644
--- a/AK/FixedPoint.h
+++ b/AK/FixedPoint.h
@@ -14,7 +14,8 @@
namespace AK {
// FIXME: this always uses round to nearest break-tie to even
-template<size_t precision, Integral Underlying = i32>
+// FIXME: use the Integral concept to constrain Underlying
+template<size_t precision, typename Underlying>
class FixedPoint {
using This = FixedPoint<precision, Underlying>;
constexpr static Underlying radix_mask = (1 << precision) - 1;