Fix lambda compilation error in VS.

Change-Id: I814008b6eeffec9bd4b8810e4b29db9ea6218bb8
parent b830dac2
......@@ -319,7 +319,7 @@ void ObjectFlatBuffersTest(uint8_t *flatbuf) {
// and such.
auto resolver = flatbuffers::resolver_function_t([](void **pointer_adr,
flatbuffers::hash_value_t hash) {
return nullptr; // Fail the lookup.
// Don't actually do anything, leave variable null.
});
auto rehasher = flatbuffers::rehasher_function_t([](void *pointer) {
return 0;
......
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