Revert "misc: chore: Remove redundant code"

This reverts commit 05a88ccc94.
This commit is contained in:
KeatonTheBot 2025-03-15 20:00:22 -05:00
parent 7960ea643f
commit efd5a104b6
109 changed files with 412 additions and 271 deletions

View file

@ -14,8 +14,8 @@ namespace ARMeilleure.Translation
private const bool Black = true;
private const bool Red = false;
private IntervalTreeNode<TK, TV> _root;
private int _count;
private IntervalTreeNode<TK, TV> _root = null;
private int _count = 0;
public int Count => _count;
@ -709,9 +709,9 @@ namespace ARMeilleure.Translation
class IntervalTreeNode<TK, TV>
{
public bool Color = true;
public IntervalTreeNode<TK, TV> Left;
public IntervalTreeNode<TK, TV> Right;
public IntervalTreeNode<TK, TV> Parent;
public IntervalTreeNode<TK, TV> Left = null;
public IntervalTreeNode<TK, TV> Right = null;
public IntervalTreeNode<TK, TV> Parent = null;
/// <summary>
/// The start of the range.