Commit d1c6ef71 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov
parent 04ccdada
......@@ -24,7 +24,7 @@ namespace NSEditorApi
class IMenuEventDataBase
{
protected:
ULONG m_lRef;
unsigned int m_lRef;
public:
IMenuEventDataBase()
......@@ -36,14 +36,14 @@ namespace NSEditorApi
{
}
virtual ULONG AddRef()
virtual unsigned int AddRef()
{
++m_lRef;
return m_lRef;
}
virtual ULONG Release()
virtual unsigned int Release()
{
ULONG ret = --m_lRef;
unsigned int ret = --m_lRef;
if (0 == m_lRef)
delete this;
return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment