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:
authorvng <viktor.govako@gmail.com>2014-10-30 13:21:52 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:31:55 +0300
commita471524c3f19e1fa20e5e634f7a3933c7f3a039a (patch)
tree8532143f7edccd4fdaffac7f1113aeacf47bd3f5 /std
parent07d95abd471a2f4423b2b473d138d59a1a1085dd (diff)
Minor refactoring - use “initializer_list” for getting classificator types.
Diffstat (limited to 'std')
-rw-r--r--std/initializer_list.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/std/initializer_list.hpp b/std/initializer_list.hpp
new file mode 100644
index 0000000000..4e32ec2e0b
--- /dev/null
+++ b/std/initializer_list.hpp
@@ -0,0 +1,14 @@
+#pragma once
+#include "common_defines.hpp"
+
+#ifdef new
+#undef new
+#endif
+
+#include <initializer_list>
+
+using std::initializer_list;
+
+#ifdef DEBUG_NEW
+#define new DEBUG_NEW
+#endif