mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-29 02:40:01 +00:00
FixedTypedVector: add const to ElementType() and size() (#6965)
This commit is contained in:
@@ -320,8 +320,8 @@ class FixedTypedVector : public Object {
|
|||||||
return data_ == FixedTypedVector::EmptyFixedTypedVector().data_;
|
return data_ == FixedTypedVector::EmptyFixedTypedVector().data_;
|
||||||
}
|
}
|
||||||
|
|
||||||
Type ElementType() { return type_; }
|
Type ElementType() const { return type_; }
|
||||||
uint8_t size() { return len_; }
|
uint8_t size() const { return len_; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Type type_;
|
Type type_;
|
||||||
|
|||||||
Reference in New Issue
Block a user