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

Commit 762cbc00 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

Change-Id: Ic533aca6ccfed8d280495f814ffae7e65a66bca5
parents 71ec23b5 7ebe1cfe
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 {