summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/core
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-08-31 11:13:37 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-08-31 11:13:37 +0200
commit63844b7567a32e27f739755d1e2a232c721e34e5 (patch)
treeafdfaa1f6f0f19c84006dd3962c7ec692ca8d399 /dev/lib/core
parente772e7e130959aa1a8ad8e163811e3070bfbb076 (diff)
feat: `allocator_system`: be more explicit on `var_type` forwarding.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/lib/core')
-rw-r--r--dev/lib/core/allocator_system.hpp2
1 files changed, 1 insertions, 1 deletions
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 <typename ret_type, typename... var_type>
auto construct(var_type&&... args) -> std::shared_ptr<ret_type>
{
- return std::shared_ptr<ret_type>(allocator_new(ret_type{std::forward(args...)}), del_());
+ return std::shared_ptr<ret_type>(allocator_new(ret_type{std::forward<var_type...>(args...)}), del_());
}
template <typename ret_type>