Skip to content

Commit 4964eac

Browse files
committed
Remove (in)equality functions
1 parent ff3e98e commit 4964eac

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lldb/include/lldb/Utility/NonNullSharedPtr.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,6 @@ template <typename T> class NonNullSharedPtr : private std::shared_ptr<T> {
7373

7474
} // namespace lldb_private
7575

76-
template <typename T>
77-
bool operator==(const lldb_private::NonNullSharedPtr<T> &lhs,
78-
const lldb_private::NonNullSharedPtr<T> &rhs) {
79-
return lhs.get() == rhs.get();
80-
}
81-
82-
template <typename T>
83-
bool operator!=(const lldb_private::NonNullSharedPtr<T> &lhs,
84-
const lldb_private::NonNullSharedPtr<T> &rhs) {
85-
return !(lhs == rhs);
86-
}
87-
8876
/// Specialized swap function for NonNullSharedPtr to enable argument-dependent
8977
/// lookup (ADL) and efficient swapping.
9078
template <typename T>

0 commit comments

Comments
 (0)