home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / crt / src / delete.cpp < prev    next >
C/C++ Source or Header  |  1998-06-17  |  432b  |  24 lines

  1. /***
  2. *delete.cxx - defines C++ delete routine
  3. *
  4. *       Copyright (c) 1990-1997, Microsoft Corporation.  All rights reserved.
  5. *
  6. *Purpose:
  7. *       Defines C++ delete routine.
  8. *
  9. *******************************************************************************/
  10.  
  11. #ifndef _DEBUG
  12.  
  13. #include <cruntime.h>
  14. #include <malloc.h>
  15. #include <new.h>
  16.  
  17.  
  18. void operator delete( void * p )
  19. {
  20.     free( p );
  21. }
  22.  
  23. #endif  /* _DEBUG */
  24.