mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
refs #707, allow to skip equal values in applyIf
This commit is contained in:
@@ -45,9 +45,9 @@ namespace BlackMisc
|
||||
}
|
||||
|
||||
template <class OBJ, class CONTAINER>
|
||||
int ICallsignObjectList<OBJ, CONTAINER>::applyIfCallsign(const CCallsign &callsign, const CPropertyIndexVariantMap &variantMap)
|
||||
int ICallsignObjectList<OBJ, CONTAINER>::applyIfCallsign(const CCallsign &callsign, const CPropertyIndexVariantMap &variantMap, bool skipEqualValues)
|
||||
{
|
||||
return this->container().applyIf(&OBJ::getCallsign, callsign, variantMap);
|
||||
return this->container().applyIf(&OBJ::getCallsign, callsign, variantMap, skipEqualValues);
|
||||
}
|
||||
|
||||
template <class OBJ, class CONTAINER>
|
||||
|
||||
Reference in New Issue
Block a user