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
1414 CAbsolutePidl ( const CAbsolutePidl &pidl ) { m_Pidl=pidl?ILCloneFull (pidl):NULL ; }
1515 ~CAbsolutePidl ( void ) { Clear (); }
1616 void operator =( const CAbsolutePidl &pidl ) { Clone (pidl); }
17+ void operator =( PCIDLIST_ABSOLUTE pidl ) { Clone (pidl); }
1718
1819 void Clear ( void ) { if (m_Pidl) ILFree (m_Pidl); m_Pidl=NULL ; }
1920 operator PIDLIST_ABSOLUTE ( void ) const { return m_Pidl; }
2021 PIDLIST_ABSOLUTE* operator &( void ) { Assert (m_Pidl==NULL ); return &m_Pidl; }
2122 void Swap ( CAbsolutePidl &pidl ) { PIDLIST_ABSOLUTE q=pidl.m_Pidl ; pidl.m_Pidl =m_Pidl; m_Pidl=q; }
2223 void Attach ( PIDLIST_ABSOLUTE pidl ) { Clear (); m_Pidl=pidl; }
2324 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 ; }
2526
2627private:
2728 PIDLIST_ABSOLUTE m_Pidl;
You can’t perform that action at this time.
0 commit comments