Skip to content

Commit

Permalink
Merge pull request grpc#22714 from grpc/nanahpang-clangtidy-patch
Browse files Browse the repository at this point in the history
Redundant get() call on smart pointer
  • Loading branch information
nanahpang authored Apr 20, 2020
2 parents b622f58 + 990943e commit edbc21e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ XdsRoutingLb::PickResult XdsRoutingLb::RoutePicker::Pick(PickArgs args) {
(path_elements[1] == route.matcher.method ||
route.matcher.method.empty())) ||
(route.matcher.service.empty() && route.matcher.method.empty())) {
return route.picker.get()->Pick(args);
return route.picker->Pick(args);
}
}
PickResult result;
Expand Down

0 comments on commit edbc21e

Please sign in to comment.