refs #413 Removed one overload of CRange::findBy and one of CSequence::applyIf; they were never used and they caused a circular dependency.

Templatized another overload of applyIf to break a circular dependency.
This commit is contained in:
Mathew Sutcliffe
2015-05-04 14:43:20 +01:00
parent aeb95ebb30
commit 36d116b4e9
5 changed files with 7 additions and 37 deletions

View File

@@ -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(newController, anotherController);
atcList.applyIf(BlackMisc::Predicates::Equals(newController), anotherController);
qDebug() << "-- after update via value map";
qDebug() << atcList.toQString();