mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-25 11:28:38 +00:00
Enums in C++ are now strongly typed.
Accessors and constructors now take enum types rather than ints. Bug: 16570507 Change-Id: I4b50fd64ad2e662ea2481bc0ccea784326fb31c0 Tested: on Linux and Windows.
This commit is contained in:
@@ -15,7 +15,7 @@ struct Vec3 (force_align: 16) {
|
||||
y:float;
|
||||
z:float;
|
||||
test1:double;
|
||||
test2:byte;
|
||||
test2:Color;
|
||||
test3:Test;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user