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
Notes: sideshowbarker 2024-07-19 06:22:54 +09:00

View File

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