Use the new C# 14 null propagation setter

This commit is contained in:
GreemDev
2025-11-16 19:02:03 -06:00
parent 456db46065
commit 09748b140a
13 changed files with 33 additions and 123 deletions

View File

@@ -386,10 +386,7 @@ namespace Ryujinx.Common.Collections
IntervalTreeNode<TKey, TValue> tmp = LeftOf(replacementNode) ?? RightOf(replacementNode);
if (tmp != null)
{
tmp.Parent = ParentOf(replacementNode);
}
tmp?.Parent = ParentOf(replacementNode);
if (ParentOf(replacementNode) == null)
{