Mark several more borrowed_ptr functions as const.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
a84c7ae45c
commit
f1ebfd78f6
|
@ -22,8 +22,8 @@ public:
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline T* operator->() noexcept { return _raw; }
|
inline T* operator->() const noexcept { return _raw; }
|
||||||
inline T* GetRaw() noexcept { return _raw; }
|
inline T* GetRaw() const noexcept { return _raw; }
|
||||||
|
|
||||||
inline bool operator==(const borrowed_ptr& rhs) const { return _raw == rhs._raw; }
|
inline bool operator==(const borrowed_ptr& rhs) const { return _raw == rhs._raw; }
|
||||||
inline bool operator!=(const borrowed_ptr& rhs) const { return _raw != rhs._raw; }
|
inline bool operator!=(const borrowed_ptr& rhs) const { return _raw != rhs._raw; }
|
||||||
|
|
Loading…
Reference in New Issue