From f3733b1cbc71f07efcc05500cfbe59d4b035b494 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 16 Dec 2014 15:29:49 +1100 Subject: [PATCH] types: remove internal make_unique implementation we can use the c++1y implementation instead which is a lot more robust. --- types.hpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/types.hpp b/types.hpp index fcfb027c..8ee37f06 100644 --- a/types.hpp +++ b/types.hpp @@ -32,13 +32,6 @@ constexpr size_t elems(const T (&)[N]) { return N; } -template -std::unique_ptr -make_unique(Args&&... args) { - return std::unique_ptr (new T(std::forward(args)...)); -} - - //----------------------------------------------------------------------------- template T