From be342d1846c00fd82c4e59bb13bba52b5cff68a2 Mon Sep 17 00:00:00 2001 From: pybind11_protobuf authors Date: Fri, 19 Sep 2025 16:44:09 -0700 Subject: [PATCH] Automated Code Change PiperOrigin-RevId: 809237987 --- 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); }