Commit 69468d9c authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

EventManager: Check for self assignment

parent 00340197
......@@ -152,6 +152,8 @@ public:
EventManager& operator=(const EventManager& em)
{
if (this == &em)
return *this;
Internal::operator=(em);
return *this;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment