Mark several more borrowed_ptr functions as const.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-05-26 14:01:52 +02:00
parent a84c7ae45c
commit f1ebfd78f6
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ public:
return *this;
}
inline T* operator->() noexcept { return _raw; }
inline T* GetRaw() noexcept { return _raw; }
inline T* operator->() const 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; }