Fixing ray tracing lens

This commit is contained in:
Dynamitos
2025-06-30 21:15:14 +02:00
parent 8499d418e8
commit 59b73420d6
10 changed files with 44 additions and 39 deletions
+2 -2
View File
@@ -102,8 +102,8 @@ template <typename T, typename Deleter = std::default_delete<T>> class OwningPtr
return *this;
}
~OwningPtr() { Deleter()(pointer); }
operator RefPtr<T>() { return RefPtr<T>(pointer); }
operator RefPtr<T>() const { return RefPtr<T>(pointer); }
constexpr operator RefPtr<T>() { return RefPtr<T>(pointer); }
constexpr operator RefPtr<T>() const { return RefPtr<T>(pointer); }
constexpr T* operator->() { return pointer; }
constexpr const T* operator->() const { return pointer; }
constexpr T* operator*() { return pointer; }