fixing compilation issues

This commit is contained in:
2024-09-14 09:55:19 +02:00
parent cd29248fc6
commit 7f2d60f21d
26 changed files with 1036 additions and 1241 deletions

View File

@@ -16,6 +16,7 @@ namespace mlx
NonOwningPtr<T>& NonOwningPtr<T>::operator=(T* ptr)
{
p_ptr = ptr;
return *this;
}
template<typename T>
@@ -23,6 +24,7 @@ namespace mlx
{
p_ptr = ptr.p_ptr;
ptr.p_ptr = nullptr;
return *this;
}
template<typename T>