Skip to content

Commit b7b30f2

Browse files
committed
int xor char
1 parent b9eefbb commit b7b30f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/glm_/extensions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ infix fun Char.shl(bits: Int) = i shl bits
4848
operator fun Char.compareTo(other: Int) = i.compareTo(other)
4949
operator fun Int.plus(b: Char) = this + b.i
5050
operator fun Int.minus(b: Char) = this - b.i
51-
fun Int.xor(b: Char) = this xor b.i
51+
infix fun Int.xor(b: Char) = this xor b.i
5252

5353
val Int.uc get() = (this % 256).c // TODO others
5454

0 commit comments

Comments
 (0)