Skip to content

Commit

Permalink
portability fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ctiller committed Jan 3, 2024
1 parent b84d5ef commit a3ac687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/lib/transport/promise_endpoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class PromiseEndpoint {
grpc_slice_buffer_move_first(read_state->buffer.c_slice_buffer(),
num_bytes, ret.c_slice_buffer());
read_state->complete.store(false, std::memory_order_relaxed);
return ret;
return std::move(ret);
}
read_state->complete.store(false, std::memory_order_relaxed);
return std::move(read_state->result);
Expand Down

0 comments on commit a3ac687

Please sign in to comment.