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

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

PDL: Allow parent packets with no parameters

am: 7e04a062

Change-Id: Ie311ae4cca2be75042b425b14aa1fb95a15adc7a
parents 553087f9 7e04a062
Loading
Loading
Loading
Loading
+5 −1
Original line number Original line Diff line number Diff line
@@ -422,7 +422,11 @@ void PacketDef::GenBuilderConstructor(std::ostream& s) const {
      s << ", ";
      s << ", ";
    }
    }
  }
  }
  if (params.size() > 0 || parent_constraints_.size() > 0) {
    s << ") :";
    s << ") :";
  } else {
    s << ")";
  }


  // Get the list of parent params to call the parent constructor with.
  // Get the list of parent params to call the parent constructor with.
  FieldList parent_params;
  FieldList parent_params;