diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/connection.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/connection.h b/include/connection.h index ae799c98..5ae90d5b 100644 --- a/include/connection.h +++ b/include/connection.h @@ -6,11 +6,10 @@ class eConnection: public iObject, public Connection { - int ref; +DECLARE_REF; +private: ePtr<iObject> m_owner; public: -DEFINE_REF(eConnection); -public: eConnection(iObject *owner, const Connection &conn): Connection(conn), m_owner(owner) { }; virtual ~eConnection() { disconnect(); } }; |
