projects
/
platform
/
upstream
/
flatbuffers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
094f4d1
)
Need unique_ptr.get not pointee.get
author
Caleb Epstein
<caleb.epstein@gmail.com>
Thu, 28 Jul 2016 12:28:39 +0000
(08:28 -0400)
committer
Caleb Epstein
<caleb@volanttrading.com>
Thu, 28 Jul 2016 12:31:19 +0000
(08:31 -0400)
docs/source/CppUsage.md
patch
|
blob
|
history
diff --git
a/docs/source/CppUsage.md
b/docs/source/CppUsage.md
index
c1df159
..
87a11c8
100755
(executable)
--- a/
docs/source/CppUsage.md
+++ b/
docs/source/CppUsage.md
@@
-103,7
+103,7
@@
To use:
cout << monsterobj->name; // This is now a std::string!
monsterobj->name = "Bob"; // Change the name.
FlatBufferBuilder fbb;
- CreateMonster(fbb, monsterobj
->
get()); // Serialize into new buffer.
+ CreateMonster(fbb, monsterobj
.
get()); // Serialize into new buffer.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
## Reflection (& Resizing)