summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@serenityos.org>2020-05-19 21:30:51 +0300
committerAndreas Kling <kling@serenityos.org>2020-05-20 08:31:31 +0200
commit000a9cad34c7a77645b62bd1554b54901b3e2373 (patch)
treed5cdd6965868056ba8a38c9a5f281fdbdc784cba /AK
parent754112220645222d145da82091d31f7c35d5dc33 (diff)
downloadserenity-000a9cad34c7a77645b62bd1554b54901b3e2373.zip
AK: Fix Checked::multiplication_would_overflow() signature
The two-argument version doesn't need an extra template parameter.
Diffstat (limited to 'AK')
-rw-r--r--AK/Checked.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/Checked.h b/AK/Checked.h
index beb1bdf8a6..d4e9a84a81 100644
--- a/AK/Checked.h
+++ b/AK/Checked.h
@@ -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__