Changeset 418


Ignore:
Timestamp:
May 6, 2015, 1:05:15 PM (9 years ago)
Author:
roman
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/Miscellaneous/AtlReleaseTrace/roatlreleasetrace.h

    r417 r418  
    172172#define _Z6                     ATLTRACE
    173173
     174////////////////////////////////////////////////////////////
     175// ATLASSERT, ATLVERIFY
     176
     177#undef ATLASSERT
     178#undef ATLVERIFY
     179#define ATLASSERT(x)    { const BOOL bAssertValue = (x) != 0; if(!bAssertValue) { _ATLTRY { _Z1(atlTraceException, 1, _T("Assertion failed: %hs\n"), #x); AtlThrow(E_FAIL); } _ATLCATCHALL() { } } }
     180#define ATLVERIFY(x)    ATLASSERT(x)
     181
     182#define _A              ATLASSERT
     183#define _W              ATLVERIFY
     184
     185////////////////////////////////////////////////////////////
     186// CDebugTraceContext
     187
    174188class CDebugTraceContext :
    175189        public CDebugTraceBase
Note: See TracChangeset for help on using the changeset viewer.