SERVER-138273ClosedFixed
Explicitly discard [[nodiscard]] value
{{std::exchange}} is marked {{[[nodiscard]]}} in libc++ 23. Discarding the return value triggers a {{Wunused-result}} warning.
{{std::exchange}} is marked {{[[nodiscard]]}} in libc++ 23. Discarding the return value triggers a {{Wunused-result}} warning.