mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
clang-format samples
This commit is contained in:
@@ -54,7 +54,7 @@ namespace BlackSample
|
||||
QTextStream cin(stdin);
|
||||
CLength l(123.456, CLengthUnit::NM());
|
||||
QJsonObject json = l.toJson();
|
||||
l = CLength(); //convert back
|
||||
l = CLength(); // convert back
|
||||
l.convertFromJson(json);
|
||||
qDebug() << json << l;
|
||||
qDebug() << "-------";
|
||||
|
||||
Reference in New Issue
Block a user