mirror of https://github.com/nymea/nymea.git
Merge PR #465: Fix action copy operator
commit
eaab3032a7
|
|
@ -57,7 +57,8 @@ Action::Action(const ActionTypeId &actionTypeId, const ThingId &thingId, Trigger
|
|||
Action::Action(const Action &other):
|
||||
m_actionTypeId(other.actionTypeId()),
|
||||
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_params = other.params();
|
||||
m_thingId = other.thingId();
|
||||
m_triggeredBy = other.triggeredBy();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue