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

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

PDL: Inline ParseStruct functions am: 7f432611 am: d9e2ab93 am: 7ebe1cfe

am: 762cbc00

Change-Id: I35fd326818cf4375d1a62aeb4f5c17d01ad13f08
parents 0f330604 762cbc00
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ void StructParserGenerator::Generate(std::ostream& s) const {
  for (const auto& node : variable_struct_fields_) {
    if (node.children_.size() > 0) {
      auto field = node.packet_field_;
      s << "std::unique_ptr<" << node.struct_def_->name_ << "> Parse" << node.struct_def_->name_;
      s << "inline std::unique_ptr<" << node.struct_def_->name_ << "> Parse" << node.struct_def_->name_;
      if (is_little_endian) {
        s << "(Iterator<kLittleEndian> to_bound) {";
      } else {