mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +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.
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user