Skip to content

Commit

Permalink
ring_hash: fix cast in WorkSerializerRunner (#32012)
Browse files Browse the repository at this point in the history
  • Loading branch information
markdroth authored and wanlin31 committed May 18, 2023
1 parent 8cb4db3 commit f8d194c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ class RingHash : public LoadBalancingPolicy {

private:
static void RunInExecCtx(void* arg, grpc_error_handle /*error*/) {
auto* self = static_cast<SubchannelConnectionAttempter*>(arg);
auto* self = static_cast<WorkSerializerRunner*>(arg);
self->ring_hash_lb()->work_serializer()->Run(
[self]() {
self->Run();
Expand Down

0 comments on commit f8d194c

Please sign in to comment.