Fix lambda compilation error in VS.

Change-Id: I814008b6eeffec9bd4b8810e4b29db9ea6218bb8
This commit is contained in:
Wouter van Oortmerssen 2016-10-12 14:51:02 -07:00
parent b830dac266
commit c81239f6ea
1 changed files with 1 additions and 1 deletions

View File

@ -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;