From 000a9cad34c7a77645b62bd1554b54901b3e2373 Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Tue, 19 May 2020 21:30:51 +0300 Subject: [PATCH] AK: Fix Checked::multiplication_would_overflow() signature The two-argument version doesn't need an extra template parameter. --- AK/Checked.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 + template static bool multiplication_would_overflow(U u, V v) { #ifdef __clang__