Skip to content

Commit 1509254

Browse files
committed
Add override, virtual was a copy and paste
1 parent 8c3ce28 commit 1509254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/CommandHandler.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class DataModelEncoderToTLV : public EncoderToTLV
8181
/// this object.
8282
DataModelEncoderToTLV(const T & value) : mValue(value) {}
8383

84-
virtual CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) { return DataModel::Encode(writer, tag, mValue); }
84+
CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) override { return DataModel::Encode(writer, tag, mValue); }
8585

8686
private:
8787
const T & mValue;

0 commit comments

Comments
 (0)