mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "Migrate from UnsafePointer<Void> to UnsafeRawPointer. (#3724)"
This reverts commit ece0951924.
This results in lldb failues on linux that I can't readily debug.
Backing out until they can be resolved.
This commit is contained in:
@@ -452,8 +452,8 @@ struct _ContiguousArrayBuffer<Element> : _ArrayBufferProtocol {
|
||||
///
|
||||
/// Two buffers address the same elements when they have the same
|
||||
/// identity and count.
|
||||
public var identity: UnsafeRawPointer {
|
||||
return UnsafeRawPointer(firstElementAddress)
|
||||
public var identity: UnsafePointer<Void> {
|
||||
return UnsafePointer(firstElementAddress)
|
||||
}
|
||||
|
||||
/// Returns `true` iff we have storage for elements of the given
|
||||
|
||||
Reference in New Issue
Block a user