mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This class was relying on the caller to keep this member alive. In general, this will lead to startling memory ownership bugs if, say, the enumerators were returned from these functions. Pass it in as a parameter instead to formalize that contract.
21 KiB
21 KiB