diff --git a/include/rest_rpc/cplusplus_14.h b/include/rest_rpc/cplusplus_14.h index 6ae4298..c01a7c7 100644 --- a/include/rest_rpc/cplusplus_14.h +++ b/include/rest_rpc/cplusplus_14.h @@ -22,12 +22,12 @@ template struct unique_if { template typename unique_if::single_object make_unique(Args &&...args) { - return unique_ptr(new T(forward(args)...)); + return std::unique_ptr(new T(forward(args)...)); } template typename unique_if::unknown_bound make_unique(size_t n) { typedef typename std::remove_extent::type U; - return unique_ptr(new U[n]()); + return std::unique_ptr(new U[n]()); } template