diff --git a/cc/google/fhir/fhir_path/fhir_path_validation.cc b/cc/google/fhir/fhir_path/fhir_path_validation.cc index 7982cee01..fb454123c 100644 --- a/cc/google/fhir/fhir_path/fhir_path_validation.cc +++ b/cc/google/fhir/fhir_path/fhir_path_validation.cc @@ -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 :