mirror of
https://github.com/tsolomko/SWCompression.git
synced 2026-06-23 14:56:41 +00:00
Removed recently added integer operators overloads.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user