diff options
Diffstat (limited to 'std')
-rw-r--r-- | std/unique_ptr.hpp | 9 |
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 |