mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
remove redundant toarray
This commit is contained in:
parent
0a0cf3f720
commit
2f1f19c3ff
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ namespace ICD.Common.Utils
|
||||||
destinationsToBeProcessed.Where(destination => comparer.Equals(closureNode, destination)))
|
destinationsToBeProcessed.Where(destination => comparer.Equals(closureNode, destination)))
|
||||||
{
|
{
|
||||||
destinationsProcessed.Add(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)
|
foreach (T destination in destinationsProcessed)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue