mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +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:
parent
7541122206
commit
000a9cad34
Notes:
sideshowbarker
2024-07-19 06:22:54 +09:00
Author: https://github.com/bugaevc
Commit: 000a9cad34
Pull-request: https://github.com/SerenityOS/serenity/pull/2299
Reviewed-by: https://github.com/awesomekling
1 changed files with 1 additions and 1 deletions
|
@ -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__
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue