]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/eventdispatcher.h
Use braced initializer lists in place of constructors when possible
[libs/core.git] / source / io / eventdispatcher.h
index f95f477daac5199df5995698a217baa64e6e3f99..d9a7afd2a02cfe3809578d89821d9c03541fe804 100644 (file)
@@ -22,7 +22,7 @@ private:
                EventDispatcher &disp;
                EventObject &obj;
 
-               Slot(EventDispatcher &, EventObject &);
+               Slot(EventDispatcher &d, EventObject &o): disp(d), obj(o) { }
 
                void connect_signals() const;
                void events_changed(PollEvent) const;