mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
LibJS: Supress an unused bind when wrapping float atomic operations
This commit is contained in:
parent
8763dbcccc
commit
388dc9cc5f
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ static ThrowCompletionOr<Value> perform_atomic_operation(VM& vm, TypedArrayBase&
|
|||
|
||||
auto operation_wrapper = [&, operation = forward<AtomicFunction>(operation)](ByteBuffer x_bytes, ByteBuffer y_bytes) -> ByteBuffer {
|
||||
if constexpr (IsFloatingPoint<T>) {
|
||||
(void)operation;
|
||||
VERIFY_NOT_REACHED();
|
||||
} else {
|
||||
using U = Conditional<IsSame<ClampedU8, T>, u8, T>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue