Skip to content

Commit

Permalink
Make clang happy
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Jul 5, 2023
1 parent dc542ce commit 3170085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/format/tests/TestDecoding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ using namespace chip::TLVMeta;
using namespace chip::TestData;

const Entry<ItemInfo> _empty_item[0] = {};
const std::array<const Node<ItemInfo>, 1> empty_meta = { { 0, _empty_item } };
const std::array<const Node<ItemInfo>, 1> empty_meta = { { { 0, _empty_item } } };

const Entry<ItemInfo> _FakeProtocolData[] = {
{ { AttributeTag(5), "proto5", ItemType::kDefault }, kInvalidNodeIndex },
Expand Down

0 comments on commit 3170085

Please sign in to comment.