Merge PR #465: Fix action copy operator
This commit is contained in:
commit
eaab3032a7
@ -57,7 +57,8 @@ Action::Action(const ActionTypeId &actionTypeId, const ThingId &thingId, Trigger
|
|||||||
Action::Action(const Action &other):
|
Action::Action(const Action &other):
|
||||||
m_actionTypeId(other.actionTypeId()),
|
m_actionTypeId(other.actionTypeId()),
|
||||||
m_thingId(other.thingId()),
|
m_thingId(other.thingId()),
|
||||||
m_params(other.params())
|
m_params(other.params()),
|
||||||
|
m_triggeredBy(other.triggeredBy())
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -147,4 +148,6 @@ void Action::operator =(const Action &other)
|
|||||||
{
|
{
|
||||||
m_actionTypeId = other.actionTypeId();
|
m_actionTypeId = other.actionTypeId();
|
||||||
m_params = other.params();
|
m_params = other.params();
|
||||||
|
m_thingId = other.thingId();
|
||||||
|
m_triggeredBy = other.triggeredBy();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user