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
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@mapswithme.com>2014-08-06 23:53:58 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:25:03 +0300
commit180657e756fefbe5d601c64b860ee470217b4956 (patch)
tree80f12150fc9a6c3101dc0ad71e7e25108ea940ff /std/unique_ptr.hpp
parentb70d11daffeede8c6cb8baaa192344d662a5c266 (diff)
[c++11] Enhanced ptr classes
Diffstat (limited to 'std/unique_ptr.hpp')
-rw-r--r--std/unique_ptr.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/std/unique_ptr.hpp b/std/unique_ptr.hpp
new file mode 100644
index 0000000000..e0f9f2e16b
--- /dev/null
+++ b/std/unique_ptr.hpp
@@ -0,0 +1,13 @@
+#pragma once
+#include "common_defines.hpp"
+
+#ifdef new
+#undef new
+#endif
+
+#include <memory>
+using std::unique_ptr;
+
+#ifdef DEBUG_NEW
+#define new DEBUG_NEW
+#endif