Slight tweak to ClearMarked DB

This commit is contained in:
Matt Nadareski
2025-01-14 22:10:28 -05:00
parent 3e839e1249
commit 5701e32159

View File

@@ -1,5 +1,4 @@
using System;
#if NET40_OR_GREATER || NETCOREAPP
#if NET40_OR_GREATER || NETCOREAPP
using System.Collections.Concurrent;
#endif
using System.Collections.Generic;
@@ -305,7 +304,7 @@ namespace SabreTools.DatFiles
/// </summary>
public void ClearMarked()
{
var itemIndices = _items.Keys;
long[] itemIndices = [.. _items.Keys];
foreach (long itemIndex in itemIndices)
{
#if NET40_OR_GREATER || NETCOREAPP