From 84f678e6f3bed72e9ad94701990117be1f0e31f3 Mon Sep 17 00:00:00 2001 From: pybind11_protobuf authors Date: Sat, 4 Oct 2025 23:05:35 -0700 Subject: [PATCH] Automated Code Change PiperOrigin-RevId: 815272001 --- pybind11_protobuf/check_unknown_fields.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pybind11_protobuf/check_unknown_fields.cc b/pybind11_protobuf/check_unknown_fields.cc index dca0e25..736e146 100644 --- a/pybind11_protobuf/check_unknown_fields.cc +++ b/pybind11_protobuf/check_unknown_fields.cc @@ -62,7 +62,7 @@ bool MessageMayContainExtensionsRecursive(const ::google::protobuf::Descriptor* bool MessageMayContainExtensionsMemoized(const ::google::protobuf::Descriptor* descriptor) { static auto* memoized = new MayContainExtensionsMap(); static absl::Mutex lock; - absl::MutexLock l(&lock); + absl::MutexLock l(lock); return MessageMayContainExtensionsRecursive(descriptor, memoized); }