Skip to content

Commit 0b8ecc8

Browse files
authored
Fix C++20-incompatible instances of aggregate initialization (#23911)
In C++20, types that declare or delete any constructors are no longer aggregates, breaking compilation of many existing uses of aggregate initialization. Fix this for EmberBindingTableEntry by removing the explicitly defaulted constructor.
1 parent 14ab4a9 commit 0b8ecc8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/app/util/types_stub.h

-2
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,6 @@ enum
451451
*/
452452
struct EmberBindingTableEntry
453453
{
454-
EmberBindingTableEntry() = default;
455-
456454
static EmberBindingTableEntry ForNode(chip::FabricIndex fabric, chip::NodeId node, chip::EndpointId localEndpoint,
457455
chip::EndpointId remoteEndpoint, chip::Optional<chip::ClusterId> cluster)
458456
{

0 commit comments

Comments
 (0)