Redundant get() call on smart pointer

I caught this ClangTide error while doing the import. Applied a quick fix here to follow the go/clang-tidy/checks/readability-redundant-smartptr-get.md.
pull/22714/head
nanahpang 5 years ago committed by GitHub
parent b622f58852
commit 990943e36c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/core/ext/filters/client_channel/lb_policy/xds/xds_routing.cc

@ -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;

Loading…
Cancel
Save