From eb959542d14f9d7d0b2619111545c79af6e843e7 Mon Sep 17 00:00:00 2001 From: qicosmos Date: Sun, 28 Jan 2024 09:25:31 +0800 Subject: [PATCH] compile --- include/rest_rpc/cplusplus_14.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rest_rpc/cplusplus_14.h b/include/rest_rpc/cplusplus_14.h index c01a7c7..0eb841e 100644 --- a/include/rest_rpc/cplusplus_14.h +++ b/include/rest_rpc/cplusplus_14.h @@ -22,7 +22,7 @@ template struct unique_if { template typename unique_if::single_object make_unique(Args &&...args) { - return std::unique_ptr(new T(forward(args)...)); + return std::unique_ptr(new T(std::forward(args)...)); } template typename unique_if::unknown_bound make_unique(size_t n) {