mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-15 16:57:29 +00:00
Use VS 2017 and 2019 on CI, fix cast issue in dart_idl (#5740)
* vs2019 * another attempt * syntax * fewer * fix dart
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
316d7c2089
commit
f2a1272303
@@ -454,7 +454,7 @@ class DartGenerator : public BaseGenerator {
|
||||
it != struct_def.fields.vec.end(); ++it) {
|
||||
auto &field = **it;
|
||||
if (field.deprecated) continue;
|
||||
auto offset = it - struct_def.fields.vec.begin();
|
||||
auto offset = static_cast<int>(it - struct_def.fields.vec.begin());
|
||||
non_deprecated_fields.push_back(std::make_pair(offset, &field));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user