From 38de57a77a28a1484dc9b3e2b762a5dfe33f2890 Mon Sep 17 00:00:00 2001 From: greshilov Date: Mon, 22 Jan 2018 20:43:26 +0300 Subject: [cmake] Adding c++14 support - Fix XCode build - Remove old compile opt from skin_generator project --- std/unique_ptr.hpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'std') 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 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 -unique_ptr make_unique(Args &&... args) -{ - return unique_ptr(new T(std::forward(args)...)); -} +using std::make_unique; #ifdef DEBUG_NEW #define new DEBUG_NEW -- cgit v1.2.3