construct component by default with NULL UUID

This commit is contained in:
Kevin Matz 2021-02-02 14:17:29 -05:00
parent 24dc73b357
commit 9b84ec311f
1 changed files with 1 additions and 2 deletions

View File

@ -30,8 +30,7 @@ namespace ACN {
// 2.1. ACN Components and Component Identifiers (CIDs)
class Component {
public:
Component() {};
Component(UUID::uuid cid) { cid_ = cid; };
Component(UUID::uuid cid = UUID::uuid()) { cid_ = cid; };
const UUID::uuid cid() const { return cid_; };