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:
@@ -111,8 +111,8 @@ struct _SliceBuffer<Element> : _ArrayBufferProtocol, RandomAccessCollection {
|
||||
/// A value that identifies the storage used by the buffer. 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)
|
||||
}
|
||||
|
||||
/// An object that keeps the elements stored in this buffer alive.
|
||||
|
||||
Reference in New Issue
Block a user