From 373988c8b05154d390432e2dc9556c40a0a96dc1 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Tue, 26 May 2020 13:31:56 +0200 Subject: [PATCH] Removed overloaded equality members. --- src/Memory/borrowed_ptr.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Memory/borrowed_ptr.hpp b/src/Memory/borrowed_ptr.hpp index d1f1a28..c6519fa 100644 --- a/src/Memory/borrowed_ptr.hpp +++ b/src/Memory/borrowed_ptr.hpp @@ -24,10 +24,6 @@ public: 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==(T* rhs) const { return _raw == rhs; } - inline bool operator!=(T* rhs) const { return _raw != rhs; } - inline bool operator==(const T* rhs) const { return _raw == rhs; } - inline bool operator!=(const T* rhs) const { return _raw != rhs; } }; #endif // ARBUTILS_BORROWED_PTR_HPP