mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 03:09:18 +02:00
basic patches for most of discovered memory leaks, fixes for brake system components
This commit is contained in:
7
stdafx.h
7
stdafx.h
@@ -10,6 +10,12 @@
|
||||
#define _CRTDBG_MAP_ALLOC
|
||||
#include <stdlib.h>
|
||||
#include <crtdbg.h>
|
||||
#ifdef _DEBUG
|
||||
#ifndef DBG_NEW
|
||||
#define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ )
|
||||
#define new DBG_NEW
|
||||
#endif
|
||||
#endif // _DEBUG
|
||||
#endif
|
||||
// operating system
|
||||
#include "targetver.h"
|
||||
@@ -19,6 +25,7 @@
|
||||
#undef NOMINMAX
|
||||
// stl
|
||||
#include <cstdlib>
|
||||
#include <cassert>
|
||||
#define _USE_MATH_DEFINES
|
||||
#include <cmath>
|
||||
#include <cstdint>
|
||||
|
||||
Reference in New Issue
Block a user