Add security mode to copy and assign operator
This commit is contained in:
parent
60db89ce74
commit
a2a673de9d
@ -8,6 +8,7 @@ ZigbeeSecurityConfiguration::ZigbeeSecurityConfiguration()
|
|||||||
ZigbeeSecurityConfiguration::ZigbeeSecurityConfiguration(const ZigbeeSecurityConfiguration &other)
|
ZigbeeSecurityConfiguration::ZigbeeSecurityConfiguration(const ZigbeeSecurityConfiguration &other)
|
||||||
{
|
{
|
||||||
m_networkKey = other.networkKey();
|
m_networkKey = other.networkKey();
|
||||||
|
m_zigbeeSecurityMode = other.zigbeeSecurityMode();
|
||||||
m_globalTrustCenterLinkKey = other.networkKey();
|
m_globalTrustCenterLinkKey = other.networkKey();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -51,6 +52,7 @@ void ZigbeeSecurityConfiguration::clear()
|
|||||||
ZigbeeSecurityConfiguration &ZigbeeSecurityConfiguration::operator=(const ZigbeeSecurityConfiguration &other)
|
ZigbeeSecurityConfiguration &ZigbeeSecurityConfiguration::operator=(const ZigbeeSecurityConfiguration &other)
|
||||||
{
|
{
|
||||||
m_networkKey = other.networkKey();
|
m_networkKey = other.networkKey();
|
||||||
|
m_zigbeeSecurityMode = other.zigbeeSecurityMode();
|
||||||
m_globalTrustCenterLinkKey = other.globalTrustCenterLinkKey();
|
m_globalTrustCenterLinkKey = other.globalTrustCenterLinkKey();
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user