mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 12:05:50 +00:00
* [C++] Use strong enum type for vectors when scoped-enums is on. These changes only apply when scoped-enums is on, and thus only the C++17 tests show diffs. This may break users who use 1) use scoped-enums and 2) use vectors of enums. However, it seems that this change should have been made originally when scoped-enums were added. Fixes #5285 * [C++] Put strong enum change also behind C++17 flag. It actually only needs C++11 technically, but this is being done to avoid breaking any existing users. Tests were rerun, but produced no additional diffs, as expected. * [C++] Forgot one location in which C++17 guard needs to go. This commit produces no additional diffs in generated code. * Use g_only_fixed_enums instead of scoped_enums.