Skip to content

Commit 969bd76

Browse files
author
liangdongcheng
committed
20181102
1 parent eb97a30 commit 969bd76

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Windows/Include/HPSocket/HPSocket.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ template<class T, class _Listener, class _Creator> class CHPSocketPtr : public C
131131
public:
132132
CHPSocketPtr(_Listener* pListener)
133133
{
134-
m_pObj = _Creator::Create(pListener);
134+
__super::m_pObj = _Creator::Create(pListener);
135135
}
136136

137137
CHPSocketPtr()
@@ -147,7 +147,7 @@ template<class T, class _Creator> class CHPObjectPtr : public CHPBasePtr<T, _Cre
147147
CHPObjectPtr(BOOL bCreate = FALSE)
148148
{
149149
if(bCreate)
150-
m_pObj = _Creator::Create();
150+
__super::m_pObj = _Creator::Create();
151151
}
152152

153153
};

Windows/Src/HPSocket.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ template<class T, class _Listener, class _Creator> class CHPSocketPtr : public C
131131
public:
132132
CHPSocketPtr(_Listener* pListener)
133133
{
134-
m_pObj = _Creator::Create(pListener);
134+
__super::m_pObj = _Creator::Create(pListener);
135135
}
136136

137137
CHPSocketPtr()
@@ -147,7 +147,7 @@ template<class T, class _Creator> class CHPObjectPtr : public CHPBasePtr<T, _Cre
147147
CHPObjectPtr(BOOL bCreate = FALSE)
148148
{
149149
if(bCreate)
150-
m_pObj = _Creator::Create();
150+
__super::m_pObj = _Creator::Create();
151151
}
152152

153153
};

0 commit comments

Comments
 (0)