mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-04 12:41:09 +00:00
Fix lambda compilation error in VS.
Change-Id: I814008b6eeffec9bd4b8810e4b29db9ea6218bb8
This commit is contained in:
@@ -319,7 +319,7 @@ void ObjectFlatBuffersTest(uint8_t *flatbuf) {
|
|||||||
// and such.
|
// and such.
|
||||||
auto resolver = flatbuffers::resolver_function_t([](void **pointer_adr,
|
auto resolver = flatbuffers::resolver_function_t([](void **pointer_adr,
|
||||||
flatbuffers::hash_value_t hash) {
|
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) {
|
auto rehasher = flatbuffers::rehasher_function_t([](void *pointer) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user