Removes optional downcast to raw pointer from Optional Unique Ptr
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
8e35267bb0
commit
b9ea517f6e
|
@ -55,9 +55,6 @@ namespace ArbUt {
|
||||||
inline bool operator!=(const OptionalUniquePtr& rhs) const noexcept { return _raw != rhs._raw; }
|
inline bool operator!=(const OptionalUniquePtr& rhs) const noexcept { return _raw != rhs._raw; }
|
||||||
/// @brief Check equality of pointers
|
/// @brief Check equality of pointers
|
||||||
inline bool operator!=(T* nullable rhs) const noexcept { return _raw != rhs; }
|
inline bool operator!=(T* nullable rhs) const noexcept { return _raw != rhs; }
|
||||||
|
|
||||||
/// @brief Implicit cast to retrieve raw pointer.
|
|
||||||
inline operator T* nullable() const noexcept { return _raw; }
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue