mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-11 23:40:57 +00:00
Fixed vector test on Windows
This commit is contained in:
@@ -946,6 +946,11 @@ class Builder FLATBUFFERS_FINAL_CLASS {
|
||||
EndVector(start, false, false);
|
||||
}
|
||||
}
|
||||
template<typename T> void Vector(const char *key, const T *elems,
|
||||
size_t len) {
|
||||
Key(key);
|
||||
Vector(elems, len);
|
||||
}
|
||||
template<typename T> void Vector(const std::vector<T> &vec) {
|
||||
Vector(vec.data(), vec.size());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user