Changeset 11002 in vbox
- Timestamp:
- Jul 30, 2008 5:44:06 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 33878
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/autores.h
r11001 r11002 244 244 public: 245 245 /** 246 * Constructor 247 * 248 * @param aPtr Memory pointer to manage. 249 * */246 * Constructor. 247 * 248 * @param aPtr Memory pointer to manage. Defaults to NULL. 249 */ 250 250 RTMemAutoPtr(T *aPtr = NULL) 251 251 : RTAutoRes<T *, Destruct, RTMemAutoNil<T> >(aPtr) … … 311 311 /* We want this both if aNewValue is non-NULL and if it is NULL. */ 312 312 this->reset(aNewValue); 313 return (aNewValue != NULL);313 return aNewValue != NULL; 314 314 } 315 315 };
Note:
See TracChangeset
for help on using the changeset viewer.