@@ -87,7 +87,7 @@ struct StructField
8787// actually construct the read destination object. For example, if a std::string
8888// is being read, the ReadField call will call the custom emplace_fn with char*
8989// and size_t arguments, and the emplace function can decide whether to call the
90- // constructor via the operator or make_shared or emplace or just return a
90+ // constructor via the operator, make_shared, emplace or just return a
9191// temporary string that is moved from.
9292template <typename LocalType, typename EmplaceFn>
9393struct ReadDestEmplace
@@ -205,11 +205,11 @@ void BuildField(TypeList<LocalTypes...>, Context& context, Output&& output, Valu
205205 }
206206}
207207
208- // Adapter to let BuildField overloads methods work set & init list elements as
209- // if they were fields of a struct. If BuildField is changed to use some kind of
210- // accessor class instead of calling method pointers, then then maybe this could
211- // go away or be simplified, because would no longer be a need to return
212- // ListOutput method pointers emulating capnp struct method pointers..
208+ // Adapter that allows BuildField overloads to work with, set, and initialize list
209+ // elements as if they were fields of a struct. If BuildField is changed to use some
210+ // kind of accessor class instead of calling method pointers, then maybe this could
211+ // go away or be simplified, because there would no longer be a need to return
212+ // ListOutput method pointers emulating capnp struct method pointers.
213213template <typename ListType>
214214struct ListOutput ;
215215
0 commit comments