mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-10 07:06:26 +00:00
more google merge fixes
This commit is contained in:
@@ -739,7 +739,7 @@ class FlatBufferBuilder {
|
||||
/// @return Returns a typed `Offset` into the serialized data indicating
|
||||
/// where the vector is stored.
|
||||
template<typename StringType = std::string,
|
||||
typename Alloc = std::allocator<std::string>>
|
||||
typename Alloc = std::allocator<StringType>>
|
||||
Offset<Vector<Offset<String>>> CreateVectorOfStrings(
|
||||
const std::vector<StringType, Alloc> &v) {
|
||||
return CreateVectorOfStrings(v.cbegin(), v.cend());
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include "flatbuffers/base.h"
|
||||
#include "flatbuffers/buffer.h"
|
||||
#include "flatbuffers/stl_emulation.h"
|
||||
|
||||
namespace flatbuffers {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user