From 0a977b294036c0281405b583e856873dac3c21fa Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Fri, 21 Oct 2011 19:38:06 +1300 Subject: [PATCH] work around for broken type inference engine in gmcs-2.6.7 --- OpenRA.FileFormats/Platform.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.FileFormats/Platform.cs b/OpenRA.FileFormats/Platform.cs index f07398c460..b25559e86d 100644 --- a/OpenRA.FileFormats/Platform.cs +++ b/OpenRA.FileFormats/Platform.cs @@ -21,7 +21,7 @@ namespace OpenRA { public static PlatformType CurrentPlatform { get { return currentPlatform.Value; } } - static Lazy currentPlatform = Lazy.New(GetCurrentPlatform); + static Lazy currentPlatform = Lazy.New((Func)GetCurrentPlatform); static PlatformType GetCurrentPlatform() {