mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-04 04:33:23 +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_;
|
||||
}
|
||||
|
||||
Type ElementType() { return type_; }
|
||||
uint8_t size() { return len_; }
|
||||
Type ElementType() const { return type_; }
|
||||
uint8_t size() const { return len_; }
|
||||
|
||||
private:
|
||||
Type type_;
|
||||
|
||||
Reference in New Issue
Block a user