refs #837 Using new abbreviated syntax for null units.

This commit is contained in:
Mathew Sutcliffe
2016-12-14 21:36:52 +00:00
parent 0ca9fe0a8a
commit b252673928
12 changed files with 18 additions and 18 deletions

View File

@@ -79,7 +79,7 @@ namespace BlackMisc
bool ok = false;
double dv = v.toDouble(&ok) * 100.0;
CAltitude a(ok ? dv : 0.0, FlightLevel,
ok ? CLengthUnit::ft() : CLengthUnit::nullUnit());
ok ? CLengthUnit::ft() : nullptr);
*this = a;
return;
}