Allow blank constructors for pointer types.
This commit is contained in:
@@ -6,6 +6,7 @@ namespace Arbutils::Memory {
|
||||
T* _ptr;
|
||||
|
||||
public:
|
||||
inline BorrowedPtr() {};
|
||||
inline explicit constexpr BorrowedPtr(T* ptr) noexcept : _ptr(ptr){};
|
||||
|
||||
inline constexpr T* GetUnsafe() noexcept { return _ptr; }
|
||||
|
||||
Reference in New Issue
Block a user