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

@@ -59,8 +59,8 @@ namespace BlackMiscTest
geoPos, CLength(100, CLengthUnit::km()), false, dtFrom2, dtUntil2);
// compare
CLength l1(0, CLengthUnit::nullUnit());
CLength l2(0, CLengthUnit::nullUnit());
CLength l1(0, nullptr);
CLength l2(0, nullptr);
QVERIFY2(l1 == l2, "Null lengths should be equal");
CLength l3(0, CLengthUnit::m());