1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:17:44 +00:00

AK: Fix Checked::multiplication_would_overflow() signature

The two-argument version doesn't need an extra template parameter.
This commit is contained in:
Sergey Bugaev 2020-05-19 21:30:51 +03:00 committed by Andreas Kling
parent 7541122206
commit 000a9cad34

View file

@ -247,7 +247,7 @@ public:
#endif #endif
} }
template<typename U, typename V, typename X> template<typename U, typename V>
static bool multiplication_would_overflow(U u, V v) static bool multiplication_would_overflow(U u, V v)
{ {
#ifdef __clang__ #ifdef __clang__