diff options
Diffstat (limited to 'tests/union_vector/Attacker.cs')
-rw-r--r-- | tests/union_vector/Attacker.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/union_vector/Attacker.cs b/tests/union_vector/Attacker.cs index 870643f2..d5bb81b8 100644 --- a/tests/union_vector/Attacker.cs +++ b/tests/union_vector/Attacker.cs @@ -10,7 +10,7 @@ public struct Attacker : IFlatbufferObject { private Table __p; public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_1_12_0(); } + public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_2_0_0(); } public static Attacker GetRootAsAttacker(ByteBuffer _bb) { return GetRootAsAttacker(_bb, new Attacker()); } public static Attacker GetRootAsAttacker(ByteBuffer _bb, Attacker obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } |