From c81239f6ea711b55914a9b9a830524577f422c9f Mon Sep 17 00:00:00 2001 From: Wouter van Oortmerssen Date: Wed, 12 Oct 2016 14:51:02 -0700 Subject: [PATCH] Fix lambda compilation error in VS. Change-Id: I814008b6eeffec9bd4b8810e4b29db9ea6218bb8 --- tests/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.cpp b/tests/test.cpp index d4332afbb..d6c709b66 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -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;