Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xavier Thompson
cython
Commits
fe252709
Commit
fe252709
authored
Oct 30, 2020
by
Xavier Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant Cy_Ref_impl comparison operators
This will fix clang 'ambiguous operation' errors
parent
4aac93d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
Cython/Utility/CyObjects.cpp
Cython/Utility/CyObjects.cpp
+0
-10
No files found.
Cython/Utility/CyObjects.cpp
View file @
fe252709
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment