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:
Diffstat (limited to 'std')
-rw-r--r--std/unique_ptr.hpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/std/unique_ptr.hpp b/std/unique_ptr.hpp
index 536fa25230..a8f198b8fd 100644
--- a/std/unique_ptr.hpp
+++ b/std/unique_ptr.hpp
@@ -6,14 +6,7 @@
#include <memory>
using std::unique_ptr;
-
-/// @todo(y): replace this hand-written helper function by
-/// std::make_unique when it will be available in C++14
-template <typename T, typename... Args>
-unique_ptr<T> make_unique(Args &&... args)
-{
- return unique_ptr<T>(new T(std::forward<Args>(args)...));
-}
+using std::make_unique;
#ifdef DEBUG_NEW
#define new DEBUG_NEW