mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-10 02:05:20 +00:00
remove redundant toarray
This commit is contained in:
@@ -166,7 +166,7 @@ namespace ICD.Common.Utils
|
||||
destinationsToBeProcessed.Where(destination => comparer.Equals(closureNode, destination)))
|
||||
{
|
||||
destinationsProcessed.Add(destination);
|
||||
pathsToReturn.Add(destination, GetPath(destination, root, nodeParents, comparer).Reverse().ToArray());
|
||||
pathsToReturn.Add(destination, GetPath(destination, root, nodeParents, comparer).Reverse());
|
||||
}
|
||||
|
||||
foreach (T destination in destinationsProcessed)
|
||||
|
||||
Reference in New Issue
Block a user