work around for broken type inference engine in gmcs-2.6.7

This commit is contained in:
Chris Forbes
2011-10-21 19:38:06 +13:00
parent 6010034b4a
commit 0a977b2940

View File

@@ -21,7 +21,7 @@ namespace OpenRA
{
public static PlatformType CurrentPlatform { get { return currentPlatform.Value; } }
static Lazy<PlatformType> currentPlatform = Lazy.New(GetCurrentPlatform);
static Lazy<PlatformType> currentPlatform = Lazy.New((Func<PlatformType>)GetCurrentPlatform);
static PlatformType GetCurrentPlatform()
{