diff options
Diffstat (limited to 'osdep/mac/swift_compat.swift')
-rw-r--r-- | osdep/mac/swift_compat.swift | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/osdep/mac/swift_compat.swift b/osdep/mac/swift_compat.swift index 83059dae5c..6924d5cfca 100644 --- a/osdep/mac/swift_compat.swift +++ b/osdep/mac/swift_compat.swift @@ -15,7 +15,6 @@ * License along with mpv. If not, see <http://www.gnu.org/licenses/>. */ - #if !swift(>=5.0) extension Data { mutating func withUnsafeMutableBytes<Type>(_ body: (UnsafeMutableRawBufferPointer) throws -> Type) rethrows -> Type { @@ -30,7 +29,7 @@ extension Data { #if !swift(>=4.2) extension NSDraggingInfo { var draggingPasteboard: NSPasteboard { - get { return draggingPasteboard() } + return draggingPasteboard() } } #endif |