]> git.llucax.com Git - software/eventxx.git/commitdiff
Hide dispatcher copy-constructor and operator=.
authorLeandro Lucarella <llucarella@integratech.com.ar>
Fri, 9 Nov 2007 19:00:59 +0000 (16:00 -0300)
committerLeandro Lucarella <llucarella@integratech.com.ar>
Fri, 9 Nov 2007 19:00:59 +0000 (16:00 -0300)
eventxx

diff --git a/eventxx b/eventxx
index 1740a284919d120864319ce0600cbc3217115290..2aeb0d0c6562349229dbed6cc437812ff1b40ff0 100644 (file)
--- 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