Overload '->' operator for TreeNode

This commit is contained in:
Simon Lübeß
2022-09-27 00:01:05 +02:00
parent e035832ab0
commit 3ec537762a
@@ -44,6 +44,11 @@ namespace GlitchyEngine.Collections
return null;
}
public static ref T operator ->(TreeNode<T> node)
{
return ref node.Value;
}
}
static