diff --git a/types.hpp b/types.hpp index 5355eff7..f2687c81 100644 --- a/types.hpp +++ b/types.hpp @@ -36,11 +36,10 @@ size_t elems(T (&)[N]) #endif -template +template std::unique_ptr make_unique(Args&&... args) { return std::unique_ptr (new T(std::forward(args)...)); } - #endif