Skip to content

Commit d9f3f3e

Browse files
author
nitrocaster
committed
xrCore: suppress C4091 in DbgHelp.h.
1 parent 816fca9 commit d9f3f3e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/xrCore/xrDebug.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
#include "xrDebug.h"
55
#include "os_clipboard.h"
66
#include "Debug/dxerr.h"
7+
#pragma warning(push)
8+
#pragma warning(disable:4091) // 'typedef ': ignored on left of '' when no variable is declared
79
#include "Debug/StackTrace.h"
810
#include "Debug/MiniDump.h"
9-
11+
#pragma warning(pop)
1012
#include <malloc.h>
1113
#include <direct.h>
1214

@@ -29,8 +31,6 @@ static BOOL bException = FALSE;
2931
#include <exception>
3032
#endif
3133

32-
#include <dbghelp.h> // MiniDump flags
33-
3434
#ifdef USE_BUG_TRAP
3535
#include <BugTrap/source/Client/BugTrap.h>
3636
#pragma comment(lib, "BugTrap.lib")

0 commit comments

Comments
 (0)