diff options
author | Sergey Bugaev <bugaevc@serenityos.org> | 2020-05-19 21:30:51 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-20 08:31:31 +0200 |
commit | 000a9cad34c7a77645b62bd1554b54901b3e2373 (patch) | |
tree | d5cdd6965868056ba8a38c9a5f281fdbdc784cba /AK | |
parent | 754112220645222d145da82091d31f7c35d5dc33 (diff) | |
download | serenity-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.h | 2 |
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__ |