1
Fork 0
mirror of https://github.com/Steffo99/better-tee.git synced 2024-11-22 07:14:19 +00:00
better-tee/Assets/Utils/Swap.cs

7 lines
137 B
C#
Raw Normal View History

2019-09-10 16:44:25 +00:00
public class Utils {
public static void Swap<T>(ref T lhs, ref T rhs) {
T temp; temp = lhs; lhs = rhs; rhs = temp;
}
}