mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
[C++]Sync the sample monster.fbs file with the tutorial (#5277)
* Fix the header file path in the tutorial doc * Add the path field in sample/monster.fbs to match the tutorial * Update the lobster sample file * Update the binary sample file
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
c329d6fa90
commit
3ff6cdf491
@@ -1922,7 +1922,7 @@ before:
|
||||
|
||||
<div class="language-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.
|
||||
~~~
|
||||
|
||||
Reference in New Issue
Block a user