1
Fork 0
mirror of https://github.com/Steffo99/better-tee.git synced 2024-11-21 23:04:19 +00:00
better-tee/Assets/Swap.cs
2019-09-10 18:44:25 +02:00

6 lines
137 B
C#

public class Utils {
public static void Swap<T>(ref T lhs, ref T rhs) {
T temp; temp = lhs; lhs = rhs; rhs = temp;
}
}