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

EventManager: Ensure EventHandler isn't copyable

parent 2b4fadfc
......@@ -97,6 +97,7 @@ private:
}
EventHandler(const EventHandler&) = delete;
EventHandler& operator=( const EventHandler& ) = delete;
private:
// Deduced type is Func& in case of lvalue; Func in case of rvalue.
......
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