From 4183db2eef7a46b41a27b1cb6bc3d57b65ecdb96 Mon Sep 17 00:00:00 2001 From: Timofey Solomko Date: Sun, 1 Jan 2017 14:40:24 +0300 Subject: [PATCH] Removed recently added integer operators overloads. --- Sources/Extensions.swift | 49 ---------------------------------------- 1 file changed, 49 deletions(-) diff --git a/Sources/Extensions.swift b/Sources/Extensions.swift index e8649740..fed2aea1 100644 --- a/Sources/Extensions.swift +++ b/Sources/Extensions.swift @@ -46,52 +46,3 @@ extension Int { } } - -func +(lhs: UInt8, rhs: UInt16) -> UInt16 { - return UInt16(lhs) + rhs -} - -func +(lhs: UInt16, rhs: UInt8) -> UInt16 { - return lhs + UInt16(rhs) -} - -func +(lhs: UInt8, rhs: UInt32) -> UInt32 { - return UInt32(lhs) + rhs -} - -func +(lhs: UInt32, rhs: UInt8) -> UInt32 { - return lhs + UInt32(rhs) -} - -func +(lhs: UInt8, rhs: UInt64) -> UInt64 { - return UInt64(lhs) + rhs -} - -func +(lhs: UInt64, rhs: UInt8) -> UInt64 { - return lhs + UInt64(rhs) -} - -func +(lhs: UInt16, rhs: UInt32) -> UInt32 { - return UInt32(lhs) + rhs -} - -func +(lhs: UInt32, rhs: UInt16) -> UInt32 { - return lhs + UInt32(rhs) -} - -func +(lhs: UInt16, rhs: UInt64) -> UInt64 { - return UInt64(lhs) + rhs -} - -func +(lhs: UInt64, rhs: UInt16) -> UInt64 { - return lhs + UInt64(rhs) -} - -func +(lhs: UInt32, rhs: UInt64) -> UInt64 { - return UInt64(lhs) + rhs -} - -func +(lhs: UInt64, rhs: UInt32) -> UInt64 { - return lhs + UInt64(rhs) -} -