File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,15 @@ class CAbsolutePidl
14
14
CAbsolutePidl ( const CAbsolutePidl &pidl ) { m_Pidl=pidl?ILCloneFull (pidl):NULL ; }
15
15
~CAbsolutePidl ( void ) { Clear (); }
16
16
void operator =( const CAbsolutePidl &pidl ) { Clone (pidl); }
17
+ void operator =( PCIDLIST_ABSOLUTE pidl ) { Clone (pidl); }
17
18
18
19
void Clear ( void ) { if (m_Pidl) ILFree (m_Pidl); m_Pidl=NULL ; }
19
20
operator PIDLIST_ABSOLUTE ( void ) const { return m_Pidl; }
20
21
PIDLIST_ABSOLUTE* operator &( void ) { Assert (m_Pidl==NULL ); return &m_Pidl; }
21
22
void Swap ( CAbsolutePidl &pidl ) { PIDLIST_ABSOLUTE q=pidl.m_Pidl ; pidl.m_Pidl =m_Pidl; m_Pidl=q; }
22
23
void Attach ( PIDLIST_ABSOLUTE pidl ) { Clear (); m_Pidl=pidl; }
23
24
PIDLIST_ABSOLUTE Detach ( void ) { PIDLIST_ABSOLUTE pidl=m_Pidl; m_Pidl=NULL ; return pidl; }
24
- void Clone ( PIDLIST_ABSOLUTE pidl ) { Clear (); m_Pidl=pidl?ILCloneFull (pidl):NULL ; }
25
+ void Clone ( PCIDLIST_ABSOLUTE pidl ) { Clear (); m_Pidl=pidl?ILCloneFull (pidl):NULL ; }
25
26
26
27
private:
27
28
PIDLIST_ABSOLUTE m_Pidl;
You can’t perform that action at this time.
0 commit comments