Franz Busch
6630cc6c6f
Change unsafeDownCast to as! ( #2802 )
...
# Motivation
In Swift 5.10 the usage of `unsafeDownCast` can lead to a miss-compile which will result in bad runtime behaviour.
# Modification
This PR changes the `unsafeDownCast` to use a `as!` instead. This is safe and should result in the same performance when done with `ManagedBuffer` which is inlinable.
# Result
No more miss compiles in 5.10
2024-07-24 09:35:35 +01:00
..
2024-07-19 11:48:17 +02:00
2021-09-23 16:50:53 +02:00
2024-07-22 09:58:09 +00:00
2024-03-22 07:20:08 -07:00
2024-07-09 07:56:26 +01:00
2024-01-16 03:30:26 -08:00
2024-07-09 07:56:26 +01:00
2023-09-04 09:01:59 +01:00
2024-07-09 07:56:26 +01:00
2020-10-19 16:18:57 +01:00
2024-07-09 07:56:26 +01:00
2024-07-19 11:48:17 +02:00
2024-07-19 11:48:17 +02:00
2024-07-19 11:48:17 +02:00
2024-07-24 09:35:35 +01:00
2024-07-22 09:58:09 +00:00
2024-07-19 11:48:17 +02:00
2024-07-19 11:48:17 +02:00
2024-07-19 11:48:17 +02:00
2024-07-19 11:48:17 +02:00
2024-07-22 09:58:09 +00:00
2024-07-19 11:48:17 +02:00
2024-07-19 11:48:17 +02:00
2024-07-19 11:48:17 +02:00
2024-07-19 11:48:17 +02:00
2024-07-19 11:48:17 +02:00
2024-07-19 11:48:17 +02:00
2024-07-19 11:48:17 +02:00
2024-07-24 09:35:35 +01:00
2024-07-18 11:55:48 +01:00
2024-07-19 11:48:17 +02:00
2024-07-19 11:48:17 +02:00
2024-07-19 11:48:17 +02:00
2024-07-19 11:48:17 +02:00
2024-07-19 11:48:17 +02:00
2024-07-19 11:48:17 +02:00
2024-07-19 11:48:17 +02:00
2024-07-19 11:48:17 +02:00