From 1c8675c1d55fdf66b64b06f7e736b557ae533298 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Fri, 8 Aug 2014 06:52:11 +0300 Subject: [cpp11] make_shared_ptr -> std::make_shared --- std/shared_ptr.hpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'std') diff --git a/std/shared_ptr.hpp b/std/shared_ptr.hpp index 9d08b751a0..fd70c8f731 100644 --- a/std/shared_ptr.hpp +++ b/std/shared_ptr.hpp @@ -9,6 +9,7 @@ #include using std::shared_ptr; +using std::make_shared; #else @@ -19,18 +20,6 @@ using boost::static_pointer_cast; #endif -template -inline shared_ptr make_shared_ptr(T * t) -{ - return shared_ptr(t); -} - -template -inline shared_ptr make_shared_ptr(T * t, U u) -{ - return shared_ptr(t, u); -} - #ifdef DEBUG_NEW #define new DEBUG_NEW #endif -- cgit v1.2.3