From 4bddc6cc0c45b815b26677aaa646009415167619 Mon Sep 17 00:00:00 2001 From: Wouter van Oortmerssen Date: Thu, 18 Jan 2018 11:20:58 -0800 Subject: [PATCH] Added missing generated code. Change-Id: I9420bf01d2bdb6ccfe3703c835297be73457c0d7 --- tests/monster_test_generated.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/monster_test_generated.h b/tests/monster_test_generated.h index 1079c0801..d2a0d5050 100644 --- a/tests/monster_test_generated.h +++ b/tests/monster_test_generated.h @@ -756,8 +756,7 @@ struct Monster FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { return GetPointer *>(VT_TESTNESTEDFLATBUFFER); } const MyGame::Example::Monster *testnestedflatbuffer_nested_root() const { - auto data = testnestedflatbuffer()->Data(); - return flatbuffers::GetRoot(data); + return flatbuffers::GetRoot(testnestedflatbuffer()->Data()); } const Stat *testempty() const { return GetPointer(VT_TESTEMPTY);