Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Philip Trettner
polymesh
Commits
d695a117
Commit
d695a117
authored
Jun 05, 2020
by
Philip Trettner
Browse files
removed test for self-move
parent
dea6da5e
Changes
1
Show whitespace changes
Inline
Side-by-side
src/polymesh/detail/unique_array.hh
View file @
d695a117
...
...
@@ -26,12 +26,10 @@ struct unique_array
}
unique_array
&
operator
=
(
unique_array
&&
rhs
)
noexcept
{
if
(
this
!=
&
rhs
)
{
// self-move results in moved-from state
delete
[]
ptr
;
ptr
=
rhs
.
ptr
;
rhs
.
ptr
=
nullptr
;
}
return
*
this
;
}
...
...
Write
Preview
Supports
Markdown
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