From 5835befe89bb4c7c8198901641f8e8901cb0715f Mon Sep 17 00:00:00 2001 From: FHIR Team Date: Fri, 22 Nov 2024 18:05:07 -0800 Subject: [PATCH] Automated Code Change PiperOrigin-RevId: 699345227 --- cc/google/fhir/stu3/codeable_concepts.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cc/google/fhir/stu3/codeable_concepts.cc b/cc/google/fhir/stu3/codeable_concepts.cc index df2a52e6e..c24eed911 100644 --- a/cc/google/fhir/stu3/codeable_concepts.cc +++ b/cc/google/fhir/stu3/codeable_concepts.cc @@ -288,7 +288,7 @@ absl::Status AddCoding(Message* concept_proto, Message* target_coding = MutableOrAddMessage(concept_proto, profiled_field); stu3::proto::CodingWithFixedSystem* fixed_system_coding = - google::protobuf::DownCastToGenerated( + google::protobuf::DownCastMessage( target_coding); CopyCommonCodingFields(coding, fixed_system_coding); *fixed_system_coding->mutable_code() = coding.code(); @@ -308,7 +308,7 @@ absl::Status AddCoding(Message* concept_proto, Message* target_coding = MutableOrAddMessage(concept_proto, profiled_field); stu3::proto::CodingWithFixedCode* fixed_system_code = - google::protobuf::DownCastToGenerated( + google::protobuf::DownCastMessage( target_coding); CopyCommonCodingFields(coding, fixed_system_code); return absl::OkStatus();