Explictly copy TOOL_EVENT_LIST in the copy constructor
This commit is contained in:
parent
0d7e48d5b1
commit
425331b655
|
@ -578,8 +578,14 @@ public:
|
||||||
m_events.push_back( aSingleEvent );
|
m_events.push_back( aSingleEvent );
|
||||||
}
|
}
|
||||||
|
|
||||||
///<y Copy an existing TOOL_EVENT_LIST
|
///< Copy an existing TOOL_EVENT_LIST
|
||||||
TOOL_EVENT_LIST( const TOOL_EVENT_LIST& aEventList ) = default;
|
TOOL_EVENT_LIST( const TOOL_EVENT_LIST& aEventList )
|
||||||
|
{
|
||||||
|
m_events.clear();
|
||||||
|
|
||||||
|
for( const TOOL_EVENT& event : aEventList.m_events )
|
||||||
|
m_events.push_back( event );
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function Format()
|
* Function Format()
|
||||||
|
|
Loading…
Reference in New Issue