diff options
Diffstat (limited to 'tests/MyGame/Example2/Monster.kt')
-rw-r--r-- | tests/MyGame/Example2/Monster.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/MyGame/Example2/Monster.kt b/tests/MyGame/Example2/Monster.kt index f1df2e0e..29caf52d 100644 --- a/tests/MyGame/Example2/Monster.kt +++ b/tests/MyGame/Example2/Monster.kt @@ -18,7 +18,7 @@ class Monster : Table() { return this } companion object { - fun validateVersion() = Constants.FLATBUFFERS_1_12_0() + fun validateVersion() = Constants.FLATBUFFERS_2_0_0() fun getRootAsMonster(_bb: ByteBuffer): Monster = getRootAsMonster(_bb, Monster()) fun getRootAsMonster(_bb: ByteBuffer, obj: Monster): Monster { _bb.order(ByteOrder.LITTLE_ENDIAN) |