Change elements if you have a non-const pointer to this object. Scalars only. See reflection.h, and the documentation.
| 332 | // Change elements if you have a non-const pointer to this object. |
| 333 | // Scalars only. See reflection.h, and the documentation. |
| 334 | void Mutate(uoffset_t i, const T &val) { |
| 335 | FLATBUFFERS_ASSERT(i < size()); |
| 336 | WriteScalar(data() + i, val); |
| 337 | } |
| 338 | |
| 339 | // Change an element of a vector of tables (or strings). |
| 340 | // "val" points to the new table/string, as you can obtain from |
nothing calls this directly
no test coverage detected