Commit 4f32cbf2 authored by csukuangfj's avatar csukuangfj Committed by Wouter van Oortmerssen

Fix an error in cpp code. (#5189)

Change monster_generate.h to monster_generated.h
parent 0eaaf181
...@@ -370,7 +370,7 @@ The first step is to import/include the library, generated files, etc. ...@@ -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.
~~~ ~~~
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment