X-Git-Url: https://git.llucax.com/software/eventxx.git/blobdiff_plain/f0b79a21aae9407084223b4da15858cffe5ef601..78deefa0805ff4094dc4bed8ad51aa674e9f375e:/eventxx?ds=inline 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