Commit 50e13ef9 authored by Caleb Epstein's avatar Caleb Epstein Committed by Caleb Epstein

Need unique_ptr.get not pointee.get

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