mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-02 06:18:18 +00:00
minor fixes to the union vector code styles (#4149)
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
4f4495a693
commit
fd61d70205
@@ -1302,7 +1302,7 @@ void UnionVectorTest() {
|
|||||||
std::vector<flatbuffers::Offset<void>> characters;
|
std::vector<flatbuffers::Offset<void>> characters;
|
||||||
characters.push_back(CreateBelle(fbb, /*books_read=*/7).Union());
|
characters.push_back(CreateBelle(fbb, /*books_read=*/7).Union());
|
||||||
characters.push_back(CreateRapunzel(fbb, /*hair_length=*/6).Union());
|
characters.push_back(CreateRapunzel(fbb, /*hair_length=*/6).Union());
|
||||||
characters.push_back(CreateMuLan(fbb, /*sward_attack_damage=*/5).Union());
|
characters.push_back(CreateMuLan(fbb, /*sword_attack_damage=*/5).Union());
|
||||||
|
|
||||||
// create Movie.
|
// create Movie.
|
||||||
const auto movie_offset =
|
const auto movie_offset =
|
||||||
|
|||||||
Reference in New Issue
Block a user