Change-Id: I4fd2a309276590227921ede467503f56b65ac689
Tested: on Windows and Linux
template<typename T> Offset<Vector<const T *>> CreateVectorOfStructs(
const std::vector<T> &v) {
- return CreateVector(&v[0], v.size());
+ return CreateVectorOfStructs(&v[0], v.size());
}
// Finish serializing a buffer by writing the root offset.
}
return true;
}
-
+
// Verify this whole buffer, starting with root type T.
template<typename T> bool VerifyBuffer() const {
// Call T::Verify, which must be in the generated code for this type.