Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5cdc2f9 authored by Myles Watson's avatar Myles Watson Committed by android-build-merger
Browse files

PDL: Add missing quote in matching constraint error

am: c67d23f4

Change-Id: I53709ddfdb3af5e5b94aa9ae91bfd9d240527fd5
parents 0f8a9c89 c67d23f4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ void PacketDef::AddParentConstraint(std::string field_name, std::variant<int64_t
    const auto& enum_def = static_cast<EnumField*>(constrained_field)->GetEnumDef();
    if (!enum_def.HasEntry(std::get<std::string>(value))) {
      ERROR(constrained_field) << "No matching enumeration \"" << std::get<std::string>(value)
                               << "for constraint on enum in parent packet " << parent_->name_ << ".";
                               << "\" for constraint on enum in parent packet " << parent_->name_ << ".";
    }

    // For enums, we have to qualify the value using the enum type name.