Skip to content
Snippets Groups Projects
Commit 6117bd24 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

EventContext: remove incomplete and useless operator=

(from Scott Snyder)

EventContext::operator= was not copying m_eid and m_proxy. since it does
the same thing as the default, better just to delete it.

See merge request !151
parents bdaade3d ba18a3dd
No related branches found
No related tags found
1 merge request!151EventContext: remove incomplete and useless operator=
Pipeline #
......@@ -82,15 +82,6 @@ public:
m_proxy = prx;
}
EventContext& operator=(const EventContext& c) {
m_evt_num = c.m_evt_num;
m_evt_slot = c.m_evt_slot;
m_valid = c.m_valid;
m_evt_failed = c.m_evt_failed;
return *this;
}
private:
ContextEvt_t m_evt_num {INVALID_CONTEXT_EVT};
ContextID_t m_evt_slot {INVALID_CONTEXT_ID};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment