mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-01 21:43:57 +00:00
Fixed missing lambda return type.
Change-Id: I48d41a240c8bf362b1f931f20a3ed9ae64f2d295
This commit is contained in:
@@ -1064,7 +1064,7 @@ CheckedError Parser::ParseVectorDelimiters(size_t &count,
|
|||||||
|
|
||||||
CheckedError Parser::ParseVector(const Type &type, uoffset_t *ovalue) {
|
CheckedError Parser::ParseVector(const Type &type, uoffset_t *ovalue) {
|
||||||
size_t count = 0;
|
size_t count = 0;
|
||||||
auto err = ParseVectorDelimiters(count, [&]() {
|
auto err = ParseVectorDelimiters(count, [&]() -> CheckedError {
|
||||||
Value val;
|
Value val;
|
||||||
val.type = type;
|
val.type = type;
|
||||||
ECHECK(ParseAnyValue(val, nullptr, 0, nullptr));
|
ECHECK(ParseAnyValue(val, nullptr, 0, nullptr));
|
||||||
|
|||||||
Reference in New Issue
Block a user