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