mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
refs #434 CPropertyIndexVariantMap: removed operator templates and replaced CVariant comparison operators with a named method, matches().
This commit is contained in:
@@ -70,7 +70,7 @@ namespace BlackMiscTest
|
||||
// now Jane's time is over
|
||||
CPropertyIndexVariantMap anotherController;
|
||||
anotherController.addValue(CAtcStation::IndexController, CVariant::fromValue(CUser("445566", "Fuzzy")));
|
||||
atcList.applyIf(BlackMisc::Predicates::Equals(newController), anotherController);
|
||||
atcList.applyIf(BlackMisc::Predicates::Matches(newController), anotherController);
|
||||
|
||||
qDebug() << "-- after update via value map";
|
||||
qDebug() << atcList.toQString();
|
||||
|
||||
Reference in New Issue
Block a user