Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authorVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2015-02-06 17:07:00 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:37:32 +0300
commit33e6349c122f4f886ddf830fd94aeeb94be63b19 (patch)
tree342614a334d134cbfb4ff9e97f1a96fdf2f3f6d9 /std
parent5ebba22d264f9b816644916e67c23a10ecf425a7 (diff)
Integration tests implementation
Diffstat (limited to 'std')
-rw-r--r--std/new.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/std/new.hpp b/std/new.hpp
new file mode 100644
index 0000000000..fc519b585f
--- /dev/null
+++ b/std/new.hpp
@@ -0,0 +1,15 @@
+#pragma once
+#include "common_defines.hpp"
+
+#ifdef new
+#undef new
+#endif
+
+#include <new>
+
+using std::bad_alloc;
+using std::bad_array_new_length;
+
+#ifdef DEBUG_NEW
+#define new DEBUG_NEW
+#endif