From a702c048add11681cb90361ad3d8cbb464d76384 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Mon, 21 Oct 2024 13:48:17 -0400 Subject: [PATCH] Restyle --- src/app/codegen-data-model-provider/EmberDataBuffer.cpp | 2 +- src/app/codegen-data-model-provider/EmberDataBuffer.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/codegen-data-model-provider/EmberDataBuffer.cpp b/src/app/codegen-data-model-provider/EmberDataBuffer.cpp index 00f804f9d0834c..1546a5435f00e1 100644 --- a/src/app/codegen-data-model-provider/EmberDataBuffer.cpp +++ b/src/app/codegen-data-model-provider/EmberDataBuffer.cpp @@ -93,7 +93,7 @@ struct SignedDecodeInfo }; } - template + template static constexpr SignedDecodeInfo OfSize() { // I specifically do not try to support "8" due to overflows. diff --git a/src/app/codegen-data-model-provider/EmberDataBuffer.h b/src/app/codegen-data-model-provider/EmberDataBuffer.h index e8cdae58eaf509..97d0ff08663779 100644 --- a/src/app/codegen-data-model-provider/EmberDataBuffer.h +++ b/src/app/codegen-data-model-provider/EmberDataBuffer.h @@ -78,7 +78,8 @@ class EmberAttributeBuffer /// Takes into account internal mIsNullable. /// /// The string in `reader` is expected to be of type `tlvType` - CHIP_ERROR DecodeAsString(chip::TLV::TLVReader & reader, PascalStringType stringType, TLV::TLVType tlvType, EndianWriter & writer); + CHIP_ERROR DecodeAsString(chip::TLV::TLVReader & reader, PascalStringType stringType, TLV::TLVType tlvType, + EndianWriter & writer); const bool mIsNullable; // Contains if the attribute metadata marks the field as NULLABLE const EmberAfAttributeType mAttributeType; // Initialized with the attribute type from the metadata