Skip to content
Closed
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
4 changes: 2 additions & 2 deletions cc/google/fhir/fhir_path/fhir_path_validation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -351,10 +351,10 @@ absl::Status FhirPathValidator::Validate(
const ScopedErrorReporter& error_reporter) const {
// ConstraintsFor may recursively build constraints so
// we lock the mutex here to ensure thread safety.
mutex_.Lock();
mutex_.lock();
MessageConstraints* constraints =
ConstraintsFor(message.Message()->GetDescriptor(), primitive_handler);
mutex_.Unlock();
mutex_.unlock();

// Validate the constraints attached to the message root.
for (const CompiledExpression& expr :
Expand Down