mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-19 09:33:05 +00:00
Fix CI builds (#8161)
* Update build.yml Upgrade to gcc 13 and clang 15 * switch to __is_trivially_copyable * fix cmake issue and warning about sign comparison * Use libc++ for C++23 on clang for now * Use libc++ for C++23 on clang for now * exclude clang+15 for C++13 builds
This commit is contained in:
@@ -1720,7 +1720,7 @@ class Verifier FLATBUFFERS_FINAL_CLASS {
|
||||
max_vectors_(buf_len),
|
||||
check_alignment_(_check_alignment),
|
||||
reuse_tracker_(reuse_tracker) {
|
||||
FLATBUFFERS_ASSERT(size_ < FLATBUFFERS_MAX_BUFFER_SIZE);
|
||||
FLATBUFFERS_ASSERT(static_cast<int32_t>(size_) < FLATBUFFERS_MAX_BUFFER_SIZE);
|
||||
if (reuse_tracker_) {
|
||||
reuse_tracker_->clear();
|
||||
reuse_tracker_->resize(size_, PackedType(BIT_WIDTH_8, FBT_NULL));
|
||||
|
||||
Reference in New Issue
Block a user