Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eval/public/structs/cel_proto_wrap_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class DynamicMap : public CelMap {

private:
void CheckInit() const {
absl::MutexLock lock(&mutex_);
absl::MutexLock lock(mutex_);
if (!initialized_) {
for (const auto& it : values_->fields()) {
keys_.push_back(CelValue::CreateString(&it.first));
Expand Down
2 changes: 1 addition & 1 deletion eval/public/structs/protobuf_descriptor_type_provider.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ ProtobufDescriptorProvider::CreateTypeAdapter(absl::string_view name) const {

const ProtoMessageTypeAdapter* ProtobufDescriptorProvider::GetTypeAdapter(
absl::string_view name) const {
absl::MutexLock lock(&mu_);
absl::MutexLock lock(mu_);
auto it = type_cache_.find(name);
if (it != type_cache_.end()) {
return it->second.get();
Expand Down