parent
81312c2128
commit
5faa0ab1be
|
@ -212,7 +212,7 @@ class ResizeContext {
|
||||||
public:
|
public:
|
||||||
ResizeContext(const reflection::Schema &schema, uoffset_t start, int delta,
|
ResizeContext(const reflection::Schema &schema, uoffset_t start, int delta,
|
||||||
std::vector<uint8_t> *flatbuf)
|
std::vector<uint8_t> *flatbuf)
|
||||||
: schema_(schema), start_(start), startptr_(flatbuf->data() + start),
|
: schema_(schema), startptr_(flatbuf->data() + start),
|
||||||
delta_(delta), buf_(*flatbuf),
|
delta_(delta), buf_(*flatbuf),
|
||||||
dag_check_(flatbuf->size() / sizeof(uoffset_t), false) {
|
dag_check_(flatbuf->size() / sizeof(uoffset_t), false) {
|
||||||
auto mask = sizeof(largest_scalar_t) - 1;
|
auto mask = sizeof(largest_scalar_t) - 1;
|
||||||
|
@ -327,7 +327,6 @@ class ResizeContext {
|
||||||
|
|
||||||
private:
|
private:
|
||||||
const reflection::Schema &schema_;
|
const reflection::Schema &schema_;
|
||||||
uoffset_t start_;
|
|
||||||
uint8_t *startptr_;
|
uint8_t *startptr_;
|
||||||
int delta_;
|
int delta_;
|
||||||
std::vector<uint8_t> &buf_;
|
std::vector<uint8_t> &buf_;
|
||||||
|
|
Loading…
Reference in New Issue