Remove unused MiniYaml DictFromFile.

This commit is contained in:
Paul Chote
2017-05-02 22:08:04 +01:00
committed by atlimit8
parent c6816cd33f
commit 0ddc4360fe

View File

@@ -231,11 +231,6 @@ namespace OpenRA
return ret;
}
public static Dictionary<string, MiniYaml> DictFromFile(string path)
{
return FromFile(path).ToDictionary(x => x.Key, x => x.Value);
}
public static Dictionary<string, MiniYaml> DictFromStream(Stream stream, string fileName = "<no filename available>")
{
return FromStream(stream, fileName).ToDictionary(x => x.Key, x => x.Value);