Skip to content

Commit

Permalink
Remove REQUIRE from async path (microsoft#4210)
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <alanjo@microsoft.com>
  • Loading branch information
Alan-Jowett authored Feb 12, 2025
1 parent c675f0e commit c0bfd35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/end_to_end/test_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ _complete_async_io(OVERLAPPED* overlapped, size_t output_buffer_length)
{
std::unique_lock lock(_overlapped_buffers_mutex);
auto it = _overlapped_buffers.find(overlapped);
REQUIRE(it != _overlapped_buffers.end());
assert(it != _overlapped_buffers.end());
if (it->second.output_buffer != nullptr) {
memcpy(it->second.output_buffer, it->second.buffer.data(), output_buffer_length);
}
Expand Down

0 comments on commit c0bfd35

Please sign in to comment.