Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix reference to out-of-scope temporary in SetUpCodePairer. (#24316)
The old code used to get a reference to a member of a temporary, but nothing kept the temporary alive (it was not assigned to a named reference or anything), so it went out of scope and got destroyed. And then we were referencing garbage. Explicitly keep references to all the things we are using, so they don't go away on us.
- Loading branch information