Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid compiler warning about dangling reference
This addresses the following warning: warning: possibly dangling reference to a temporary [-Wdangling-reference] 777 | const Chunk &chunk = it.next().value(); | ^~~~~ It's a false positive, since even though the temporary was destroyed, the returned Chunk reference will remain valid...
- Loading branch information