mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Slight tweak to ClearMarked DB
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user