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

This commit is contained in:
Deukhoofd committed 2020-05-26 14:01:52 +02:00
1 parent a84c7ae45c
commit f1ebfd78f6
1 file changed
+2 -2
+2 -2
View File
@@ -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; }