From f7e4f9aa2c727bad66ad8142c4651f5bed674f4b Mon Sep 17 00:00:00 2001 From: xiaomx32 <2116906041@qq.com> Date: Sun, 29 Dec 2024 16:57:25 +0800 Subject: [PATCH] remove seemingly redundant parameters --- src/runtime/context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/context.cpp b/src/runtime/context.cpp index 76f11e984..ed84d2f31 100644 --- a/src/runtime/context.cpp +++ b/src/runtime/context.cpp @@ -208,7 +208,7 @@ Device Context::create_device( interface->_backend_name = std::move(backend_name); auto handle = Device::Handle { interface, - [impl = _impl, deleter = m.deleter](auto p) noexcept { + [deleter = m.deleter](auto p) noexcept { deleter(p); } };