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

Commit 59685ee1 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

am: c5cdc2f9

Change-Id: I02bbed15d5762b2546a1f3dd6dfb3c39f0bb760d
parents af01d79e c5cdc2f9
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.