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:
authorMaxim Pimenov <m@maps.me>2015-07-15 21:19:37 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:56:13 +0300
commiteaa56751946aff0514bfa12101dc87b0bc4441a4 (patch)
treeadd66a6bee58e8e9469ed54944a24e36aa039555 /std
parent21cad7ee4693c97b0fed3dc1c46a2102faf5f94c (diff)
[omim] Remove base/pseudo_random.hpp and add std/random.hpp instead.
Diffstat (limited to 'std')
-rw-r--r--std/random.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/std/random.hpp b/std/random.hpp
new file mode 100644
index 0000000000..6b792f0f3d
--- /dev/null
+++ b/std/random.hpp
@@ -0,0 +1,15 @@
+#pragma once
+
+#ifdef new
+#undef new
+#endif
+
+#include <random>
+
+using std::mt19937;
+using std::uniform_int_distribution;
+
+#ifdef DEBUG_NEW
+#define new DEBUG_NEW
+#endif
+