mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 19:45:12 +00:00
AK: Fix compile error when using div_mod_internal<513, 256, true>
This commit is contained in:
parent
e785172290
commit
51fe8f820f
Notes:
sideshowbarker
2024-07-16 23:59:28 +09:00
Author: https://github.com/msvisser Commit: https://github.com/SerenityOS/serenity/commit/51fe8f820f Pull-request: https://github.com/SerenityOS/serenity/pull/21949 Reviewed-by: https://github.com/DanShaders Reviewed-by: https://github.com/alimpfard
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ constexpr void div_mod_internal(
|
|||
if (dividend_len < divisor_len) { // dividend < divisor
|
||||
StorageOperations::set(0, quotient);
|
||||
if constexpr (restore_remainder)
|
||||
remainder = operand1;
|
||||
StorageOperations::copy(operand1, remainder);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue