Skip to content

Commit 9b305db

Browse files
committed
Fix value passing
1 parent c9024ed commit 9b305db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/util/ember-compatibility-functions.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ CHIP_ERROR GlobalAttributeReader::EncodeCommandList(const ConcreteClusterPath &
425425
// Helper function for trying to read an attribute value via an
426426
// AttributeAccessInterface. On failure, the read has failed. On success, the
427427
// aTriedEncode outparam is set to whether the AttributeAccessInterface tried to encode a value.
428-
CHIP_ERROR ReadViaAccessInterface(SubjectDescriptor subjectDescriptor, bool aIsFabricFiltered,
428+
CHIP_ERROR ReadViaAccessInterface(const SubjectDescriptor &subjectDescriptor, bool aIsFabricFiltered,
429429
const ConcreteReadAttributePath & aPath, AttributeReportIBs::Builder & aAttributeReports,
430430
AttributeEncodeState * aEncoderState, AttributeAccessInterface * aAccessInterface,
431431
bool * aTriedEncode)

0 commit comments

Comments
 (0)