X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/6b7b7977a92c9a092763bf699cba85347f9f2ec6..4bc08995411e21f3564f09e136809be68ddf96a8:/include/connection.h diff --git a/include/connection.h b/include/connection.h index ae799c98..5ae90d5b 100644 --- a/include/connection.h +++ b/include/connection.h @@ -6,10 +6,9 @@ class eConnection: public iObject, public Connection { - int ref; +DECLARE_REF; +private: ePtr m_owner; -public: -DEFINE_REF(eConnection); public: eConnection(iObject *owner, const Connection &conn): Connection(conn), m_owner(owner) { }; virtual ~eConnection() { disconnect(); }