From 78deefa0805ff4094dc4bed8ad51aa674e9f375e Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Fri, 9 Nov 2007 16:00:59 -0300 Subject: [PATCH] Hide dispatcher copy-constructor and operator=. --- eventxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eventxx b/eventxx index 1740a28..2aeb0d0 100644 --- a/eventxx +++ b/eventxx @@ -791,6 +791,11 @@ struct dispatcher handler(fd, *reinterpret_cast< type* >(&ev)); } + private: + // Hide nonsense copy-constructor and operator= + dispatcher(const dispatcher&); + dispatcher& operator=(const dispatcher&); + }; // struct dispatcher } // namespace eventxx -- 2.43.0