From 63844b7567a32e27f739755d1e2a232c721e34e5 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 31 Aug 2025 11:13:37 +0200 Subject: feat: `allocator_system`: be more explicit on `var_type` forwarding. Signed-off-by: Amlal El Mahrouss --- dev/lib/core/allocator_system.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev/lib') diff --git a/dev/lib/core/allocator_system.hpp b/dev/lib/core/allocator_system.hpp index c75971b..6b7e5db 100644 --- a/dev/lib/core/allocator_system.hpp +++ b/dev/lib/core/allocator_system.hpp @@ -59,7 +59,7 @@ namespace ocl template auto construct(var_type&&... args) -> std::shared_ptr { - return std::shared_ptr(allocator_new(ret_type{std::forward(args...)}), del_()); + return std::shared_ptr(allocator_new(ret_type{std::forward(args...)}), del_()); } template -- cgit v1.2.3