This commit is contained in:
2 files changed
+2
-4
No files matched your search
@@ -79,6 +79,7 @@ namespace ArbUt {
|
|||||||
return BorrowedPtr<TCast>(cast);
|
return BorrowedPtr<TCast>(cast);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// @brief Implicit cast to retrieve raw pointer.
|
||||||
inline operator T*() const noexcept { return _raw; }
|
inline operator T*() const noexcept { return _raw; }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,10 +57,7 @@ namespace ArbUt {
|
|||||||
inline bool operator!=(T* rhs) const noexcept { return _raw == rhs; }
|
inline bool operator!=(T* rhs) const noexcept { return _raw == rhs; }
|
||||||
|
|
||||||
/// @brief Implicit cast to retrieve raw pointer.
|
/// @brief Implicit cast to retrieve raw pointer.
|
||||||
inline operator T*() const noexcept {
|
inline operator T*() const noexcept { return _raw; }
|
||||||
AssertNotNull(_raw);
|
|
||||||
return _raw;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user