mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-01 17:53:56 +00:00
Fix an error in cpp code. (#5189)
Change monster_generate.h to monster_generated.h
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
0eaaf18192
commit
4f32cbf268
@@ -370,7 +370,7 @@ The first step is to import/include the library, generated files, etc.
|
|||||||
|
|
||||||
<div class="language-cpp">
|
<div class="language-cpp">
|
||||||
~~~{.cpp}
|
~~~{.cpp}
|
||||||
#include "monster_generate.h" // This was generated by `flatc`.
|
#include "monster_generated.h" // This was generated by `flatc`.
|
||||||
|
|
||||||
using namespace MyGame::Sample; // Specified in the schema.
|
using namespace MyGame::Sample; // Specified in the schema.
|
||||||
~~~
|
~~~
|
||||||
|
|||||||
Reference in New Issue
Block a user