work around for broken type inference engine in gmcs-2.6.7
This commit is contained in:
@@ -21,7 +21,7 @@ namespace OpenRA
|
|||||||
{
|
{
|
||||||
public static PlatformType CurrentPlatform { get { return currentPlatform.Value; } }
|
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()
|
static PlatformType GetCurrentPlatform()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user