From aa46f0e4c23a353c9741f6d7e65e28013a0ca234 Mon Sep 17 00:00:00 2001 From: dyu Date: Sat, 27 Dec 2014 21:18:18 +0800 Subject: [PATCH] update generated sources Change-Id: I531c26572fca7fca9805178971d7e110d44627d8 --- samples/monster_generated.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/monster_generated.h b/samples/monster_generated.h index 17d95d3f3..945d992fc 100755 --- a/samples/monster_generated.h +++ b/samples/monster_generated.h @@ -39,7 +39,7 @@ inline const char *EnumNameAny(Any e) { return EnumNamesAny()[e]; } inline bool VerifyAny(flatbuffers::Verifier &verifier, const void *union_obj, Any type); -MANUALLY_ALIGNED_STRUCT(4) Vec3 { +MANUALLY_ALIGNED_STRUCT(4) Vec3 FLATBUFFERS_FINAL_CLASS { private: float x_; float y_; @@ -55,7 +55,7 @@ MANUALLY_ALIGNED_STRUCT(4) Vec3 { }; STRUCT_END(Vec3, 12); -struct Monster : private flatbuffers::Table { +struct Monster FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { const Vec3 *pos() const { return GetStruct(4); } int16_t mana() const { return GetField(6, 150); } int16_t hp() const { return GetField(8, 100); }