Skip to content

Commit

Permalink
Move the lib/core type includes from basic_types.h to DataModelTypes.h.
Browse files Browse the repository at this point in the history
NodeId, GroupId, and VendorId declarations should come along when
including a header called DataModelTypes.h.
  • Loading branch information
bzbarsky-apple committed Oct 28, 2021
1 parent 551ba65 commit a4d4f5d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 1 addition & 5 deletions src/app/util/basic-types.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@

#include <cstdint>

#include <lib/core/GroupId.h>
#include <lib/core/NodeId.h>

// Pull in other core types
#include <lib/core/CHIPVendorIdentifiers.hpp>
// Pull in core types
#include <lib/core/DataModelTypes.h>

namespace chip {
Expand Down
4 changes: 4 additions & 0 deletions src/lib/core/DataModelTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

#include <cstdint>

#include <lib/core/CHIPVendorIdentifiers.hpp> // For VendorId
#include <lib/core/GroupId.h>
#include <lib/core/NodeId.h>

namespace chip {

typedef uint8_t ActionId;
Expand Down

0 comments on commit a4d4f5d

Please sign in to comment.