mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-19 20:35:42 +00:00
- add flatbuffers::span - add new constructor for `struct` with `array` - add some test for flatbuffers::span and 'arrays_test.fbs'
This commit is contained in:
@@ -131,6 +131,7 @@ FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(8) Struct FLATBUFFERS_FINAL_CLASS {
|
||||
: a_(flatbuffers::EndianScalar(_a)),
|
||||
padding0__(0),
|
||||
b_(flatbuffers::EndianScalar(_b)) {
|
||||
(void)padding0__;
|
||||
}
|
||||
int32_t a() const {
|
||||
return flatbuffers::EndianScalar(a_);
|
||||
|
||||
Reference in New Issue
Block a user