mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-01 22:51:14 +08:00
Use auto* for pointers (#1662)
This commit is contained in:
parent
3ceb341a75
commit
96986fb362
@ -913,7 +913,7 @@ std::function<std::vector<array>(const std::vector<array>&)> compile(
|
||||
auto pfun = std::shared_ptr<
|
||||
std::function<std::vector<array>(const std::vector<array>&)>>(
|
||||
new std::function<std::vector<array>(const std::vector<array>&)>{fun},
|
||||
[](auto p) {
|
||||
[](auto* p) {
|
||||
detail::compile_erase(reinterpret_cast<std::uintptr_t>(p));
|
||||
delete p;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user