mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-03 04:21:13 +00:00
Fix minor const correctness issue (#4271)
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
523f3833eb
commit
fb03f78fb4
@@ -327,7 +327,7 @@ public:
|
||||
return temp;
|
||||
}
|
||||
|
||||
VectorIterator operator+(const uoffset_t &offset) {
|
||||
VectorIterator operator+(const uoffset_t &offset) const {
|
||||
return VectorIterator(data_ + offset * IndirectHelper<T>::element_stride, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user