You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
auto CreateId(flatbuffers::FlatBufferBuilder& builder) const
{
auto result = std::vector<flatbuffers::Offset<nullable_uint>>();
for (auto& x : this->id)
{
if (x.has_value())
{
auto nullable_builder = nullable_uintBuilder(builder);
nullable_builder.add_value(x.value());
result.push_back(nullable_builder.Finish());
}
else
{
result.push_back(0);
}
}
return builder.CreateVector(result);
}
The text was updated successfully, but these errors were encountered:
boyism80
added a commit
to boyism80/flatbuffers
that referenced
this issue
Oct 10, 2024
it's same issue (#7846) but not fixed in c++
The text was updated successfully, but these errors were encountered: