summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Libraries/LibJS/Heap/GCPtr.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/Userland/Libraries/LibJS/Heap/GCPtr.h b/Userland/Libraries/LibJS/Heap/GCPtr.h
index 1d809166b4..8ba3654af6 100644
--- a/Userland/Libraries/LibJS/Heap/GCPtr.h
+++ b/Userland/Libraries/LibJS/Heap/GCPtr.h
@@ -224,16 +224,4 @@ inline bool operator==(NonnullGCPtr<T> const& a, GCPtr<U> const& b)
return a.ptr() == b.ptr();
}
-template<typename T, typename U>
-inline bool operator==(NonnullGCPtr<T> const& a, U const* b)
-{
- return a.ptr() == b;
-}
-
-template<typename T, typename U>
-inline bool operator==(GCPtr<T> const& a, U const* b)
-{
- return a.ptr() == b;
-}
-
}