mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-06 13:37:25 +00:00
Merge branch 'master' of https://github.com/google/flatbuffers into grpc2
This commit is contained in:
@@ -124,7 +124,9 @@ flatbuffers::unique_ptr_t CreateFlatBufferTest(std::string &buffer) {
|
||||
});
|
||||
|
||||
// Creating vectors of strings in one convenient call.
|
||||
std::vector<std::string> names2 = { "jane", "mary" };
|
||||
std::vector<std::string> names2;
|
||||
names2.push_back("jane");
|
||||
names2.push_back("mary");
|
||||
auto vecofstrings2 = builder.CreateVectorOfStrings(names2);
|
||||
|
||||
// Create an array of sorted tables, can be used with binary search when read:
|
||||
|
||||
Reference in New Issue
Block a user