Closed aaronovz1 closed 7 years ago
Which, in particular? You mean for struct
types that only have 1 field?
It seems to be the *Builder structs that pass in one arg which is the FBB:
AdapterBuilder(flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
Ahh ok. Can you create a PR that adds explicit
there ?
Done. See #4452
Something minor I noticed. The generated C++ code does not use the "explicit" keyword for constructors with one argument.