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