mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-07 13:53:38 +00:00
Use flatbuffer unique_ptr instead of std's.
Stlport does not have std unique_ptr, so using the one provided by flatbuffers. Also fixing a problem with the flatbuffer unique_ptr, and a test.
This commit is contained in:
@@ -1661,7 +1661,7 @@ void FlexBuffersTest() {
|
||||
int ints[] = { 1, 2, 3 };
|
||||
slb2.Vector("bar", ints, 3);
|
||||
slb2.FixedTypedVector("bar3", ints, 3);
|
||||
slb.Bool("bool", true);
|
||||
slb2.Bool("bool", true);
|
||||
slb2.Double("foo", 100);
|
||||
slb2.Map("mymap", [](flexbuffers::Builder& slb3) {
|
||||
slb3.String("foo", "Fred"); // Testing key and string reuse.
|
||||
|
||||
Reference in New Issue
Block a user