mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-28 05:35:52 +03: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: https://github.com/SerenityOS/serenity/commit/000a9cad34c Pull-request: https://github.com/SerenityOS/serenity/pull/2299 Reviewed-by: https://github.com/awesomekling
@ -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__
|
||||
|
Loading…
Reference in New Issue
Block a user