diff --git a/ctl/unique_ptr.h b/ctl/unique_ptr.h index c983d30e9..079f5a79f 100644 --- a/ctl/unique_ptr.h +++ b/ctl/unique_ptr.h @@ -144,14 +144,14 @@ struct unique_ptr }; template -unique_ptr +constexpr unique_ptr make_unique(Args&&... args) { return unique_ptr(new T(ctl::forward(args)...)); } template -unique_ptr +constexpr unique_ptr make_unique_for_overwrite() { #if 0