Changeset 418
- Timestamp:
- May 6, 2015, 1:05:15 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/Miscellaneous/AtlReleaseTrace/roatlreleasetrace.h
r417 r418 172 172 #define _Z6 ATLTRACE 173 173 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 174 188 class CDebugTraceContext : 175 189 public CDebugTraceBase
Note: See TracChangeset
for help on using the changeset viewer.