diff --git a/Userland/Libraries/LibJS/Heap/GCPtr.h b/Userland/Libraries/LibJS/Heap/GCPtr.h index 1d809166b4f..8ba3654af62 100644 --- a/Userland/Libraries/LibJS/Heap/GCPtr.h +++ b/Userland/Libraries/LibJS/Heap/GCPtr.h @@ -224,16 +224,4 @@ inline bool operator==(NonnullGCPtr const& a, GCPtr const& b) return a.ptr() == b.ptr(); } -template -inline bool operator==(NonnullGCPtr const& a, U const* b) -{ - return a.ptr() == b; -} - -template -inline bool operator==(GCPtr const& a, U const* b) -{ - return a.ptr() == b; -} - }