mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 19:35:32 +08:00
Ref T223, use const values for standard pressure
* standardISASeaLevelPressure * use static const values for standard pressure * minor formatting
This commit is contained in:
@@ -110,7 +110,7 @@ namespace BlackMisc
|
||||
CTemperatureLayerList { temperatureLayer },
|
||||
CVisibilityLayerList { visibilityLayer } ,
|
||||
CWindLayerList { windLayer },
|
||||
{ 1013.25, PhysicalQuantities::CPressureUnit::hPa() }
|
||||
{ CAltitude::standardISASeaLevelPressure() }
|
||||
};
|
||||
|
||||
static const CWeatherGrid weatherGrid = { gridPointGLOB };
|
||||
@@ -162,7 +162,7 @@ namespace BlackMisc
|
||||
CTemperatureLayerList { temperatureLayer },
|
||||
CVisibilityLayerList { visibilityLayer },
|
||||
CWindLayerList { windLayer1, windLayer2 },
|
||||
{ 1013.25, PhysicalQuantities::CPressureUnit::hPa() }
|
||||
{ CAltitude::standardISASeaLevelPressure() }
|
||||
};
|
||||
|
||||
static const CWeatherGrid weatherGrid({ gridPointGLOB });
|
||||
|
||||
Reference in New Issue
Block a user