Skip to content

Commit c4d4cfb

Browse files
Tensorstore Teamcopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 870715744 Change-Id: Iac994cfc920e1c9e8c456c6292068e7b253bbce7
1 parent 388c496 commit c4d4cfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorstore/internal/grpc/client_credentials.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ bool GrpcClientCredentials::Use(
4747
tensorstore::Context context,
4848
std::shared_ptr<internal_grpc::GrpcAuthenticationStrategy> auth_strategy) {
4949
auto resource = context.GetResource<GrpcClientCredentials>().value();
50-
absl::MutexLock l(&credentials_mu);
50+
absl::MutexLock l(credentials_mu);
5151
bool result = (resource->auth_strategy_ == nullptr);
5252
resource->auth_strategy_ = std::move(auth_strategy);
5353
return result;
@@ -65,7 +65,7 @@ bool GrpcClientCredentials::Use(
6565

6666
std::shared_ptr<internal_grpc::GrpcAuthenticationStrategy>
6767
GrpcClientCredentials::Resource::GetAuthenticationStrategy() {
68-
absl::MutexLock l(&credentials_mu);
68+
absl::MutexLock l(credentials_mu);
6969
if (auth_strategy_) return auth_strategy_;
7070
return internal_grpc::CreateInsecureAuthenticationStrategy();
7171
}

0 commit comments

Comments
 (0)