Code refactor.

This commit is contained in:
2018-08-05 23:11:33 +01:00
parent 60afd9c46c
commit bf55ec20e8
26 changed files with 48 additions and 63 deletions

View File

@@ -134,11 +134,7 @@ namespace Cicm.Database
foreach(DataRow dataRow in dataTable.Rows)
{
GpuByMachine entry = new GpuByMachine
{
Machine = (int)dataRow["machine"],
Gpu = (int)dataRow["gpu"]
};
GpuByMachine entry = new GpuByMachine {Machine = (int)dataRow["machine"], Gpu = (int)dataRow["gpu"]};
entries.Add(entry);
}