Explicitly specified type in foreach

This commit is contained in:
Andy Adshead 2019-04-26 00:23:14 +01:00
parent efa526a342
commit 82d751d8bc

View file

@ -1,5 +1,6 @@
using Ryujinx.Common;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
@ -11,7 +12,7 @@ namespace Ryujinx.Profiler
{
String fileData = "Category,Session Group,Session Item,Count,Average(ms),Total(ms)\r\n";
foreach (var time in profile.Timers.OrderBy(key => key.Key.Tag))
foreach (KeyValuePair<ProfileConfig, TimingInfo> time in profile.Timers.OrderBy(key => key.Key.Tag))
{
fileData += $"{time.Key.Category}," +
$"{time.Key.SessionGroup}," +