diff options
Diffstat (limited to 'std')
-rw-r--r-- | std/shared_ptr.hpp | 13 |
1 files changed, 1 insertions, 12 deletions
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 <memory> using std::shared_ptr; +using std::make_shared; #else @@ -19,18 +20,6 @@ using boost::static_pointer_cast; #endif -template <typename T> -inline shared_ptr<T> make_shared_ptr(T * t) -{ - return shared_ptr<T>(t); -} - -template <typename T, typename U> -inline shared_ptr<T> make_shared_ptr(T * t, U u) -{ - return shared_ptr<T>(t, u); -} - #ifdef DEBUG_NEW #define new DEBUG_NEW #endif |