Skip to content

Commit 7f36f57

Browse files
committed
Fix compile error in PCL
1 parent 23918db commit 7f36f57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/UnitsNet/CustomCode/UnitSystem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace UnitsNet
3434
public partial class UnitSystem
3535
{
3636
private static readonly Dictionary<CultureInfo, UnitSystem> CultureToInstance;
37-
private static readonly CultureInfo DefaultCulture = CultureInfo.GetCultureInfo("en-US");
37+
private static readonly CultureInfo DefaultCulture = new CultureInfo("en-US");
3838

3939
/// <summary>
4040
/// The culture of which this unit system is based on. Either passed in to constructor or the default culture.

0 commit comments

Comments
 (0)