Skip to content

Commit acbd68e

Browse files
committed
Update PicoGK_Csv.cs
Changed syntax of array allocation to old-style syntax to not require latest C# version.
1 parent 99df767 commit acbd68e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PicoGK_Csv.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public class CsvTable : IDataTable
5757
{
5858
public CsvTable(IEnumerable<string>? astrColumnIDs = null)
5959
{
60-
m_oColumnIDs = new(astrColumnIDs ?? []);
60+
m_oColumnIDs = new(astrColumnIDs ?? new List<string>());
6161
}
6262
public CsvTable( string strFilePath,
6363
string strDelimiters = ",")

0 commit comments

Comments
 (0)