Fix docs for object API usage

This commit is contained in:
Caleb Epstein 2016-07-27 16:02:49 -04:00 committed by Caleb Epstein
parent a0398ce0f5
commit 094f4d1bad
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ To use:
cout << monsterobj->name; // This is now a std::string!
monsterobj->name = "Bob"; // Change the name.
FlatBufferBuilder fbb;
monsterobj->Pack(fbb); // Serialize into new buffer.
CreateMonster(fbb, monsterobj->get()); // Serialize into new buffer.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
## Reflection (& Resizing)