Skip to content

Commit

Permalink
Fix (TextResourceReader): Fix bug when reading sized list
Browse files Browse the repository at this point in the history
  • Loading branch information
smlu committed Jul 13, 2020
1 parent c2f9f29 commit 969c04a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/libim/content/text/text_resource_reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ namespace libim::content::text {
{
auto len = readKey<std::size_t>(expectedName);
reserve(result, len);
isAtEnd = [&]() { return rowIdx >= len; };
isAtEnd = [&, len]() { return rowIdx >= len; };
}
else
{
Expand Down

0 comments on commit 969c04a

Please sign in to comment.