X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/1aeefd997cc362c3b37c1587c5f08891b35c3a75..2404d9d809e8c9704383c85475f50b0be55949a7:/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(); }