Commit fe252709 authored by Xavier Thompson's avatar Xavier Thompson

Remove redundant Cy_Ref_impl comparison operators

This will fix clang 'ambiguous operation' errors
parent 4aac93d9
......@@ -188,11 +188,6 @@
return uobj == rhs.uobj;
}
template <typename U>
friend bool operator==(const Cy_Ref_impl<U>& lhs, const Cy_Ref_impl<T>& rhs) noexcept {
return lhs.uobj == rhs.uobj;
}
template <typename U>
bool operator==(U* rhs) const noexcept {
return uobj == rhs;
......@@ -216,11 +211,6 @@
return uobj != rhs.uobj;
}
template <typename U>
friend bool operator!=(const Cy_Ref_impl<U>& lhs, const Cy_Ref_impl<T>& rhs) noexcept {
return lhs.uobj != rhs.uobj;
}
template <typename U>
bool operator!=(U* rhs) const noexcept {
return uobj != rhs;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment