@@ -571,16 +571,15 @@ bool Instance::ReportEstimatedEndTimeChange(const DataModel::Nullable<uint32_t>
571
571
return (aEstimatedEndTime.Value () < mEstimatedEndTime .Value ());
572
572
}
573
573
574
- bool Instance::AddSupportedLocation (uint32_t aAreaId, const DataModel::Nullable<uint8_t > & aMapId,
575
- const CharSpan & aLocationName, const DataModel::Nullable<int16_t > & aFloorNumber,
574
+ bool Instance::AddSupportedLocation (uint32_t aAreaId, const DataModel::Nullable<uint8_t > & aMapId, const CharSpan & aLocationName,
575
+ const DataModel::Nullable<int16_t > & aFloorNumber,
576
576
const DataModel::Nullable<Globals::AreaTypeTag> & aAreaType,
577
577
const DataModel::Nullable<Globals::LandmarkTag> & aLandmarkTag,
578
578
const DataModel::Nullable<Globals::PositionTag> & aPositionTag,
579
579
const DataModel::Nullable<Globals::FloorSurfaceTag> & aSurfaceTag)
580
580
{
581
581
// Create location object for validation.
582
- AreaStructureWrapper aNewArea (aAreaId, aMapId, aLocationName, aFloorNumber, aAreaType, aLandmarkTag, aPositionTag,
583
- aSurfaceTag);
582
+ AreaStructureWrapper aNewArea (aAreaId, aMapId, aLocationName, aFloorNumber, aAreaType, aLandmarkTag, aPositionTag, aSurfaceTag);
584
583
585
584
// Does device mode allow this attribute to be updated?
586
585
if (!mDelegate ->IsSupportedAreasChangeAllowed ())
@@ -655,8 +654,8 @@ bool Instance::ModifySupportedLocation(uint32_t aAreaId, const DataModel::Nullab
655
654
}
656
655
657
656
// create new location object for validation
658
- AreaStructureWrapper aNewArea (aAreaId, aMapId, aLocationName, aFloorNumber, aAreaType, aLandmarkTag,
659
- aPositionTag, aSurfaceTag);
657
+ AreaStructureWrapper aNewArea (aAreaId, aMapId, aLocationName, aFloorNumber, aAreaType, aLandmarkTag, aPositionTag,
658
+ aSurfaceTag);
660
659
661
660
// verify cluster requirements concerning valid fields and field relationships
662
661
if (!IsValidSupportedLocation (aNewArea))
0 commit comments