Commit 1f5abae4 authored by Julius Nehring-Wirxel's avatar Julius Nehring-Wirxel
Browse files

Merge branch 'develop' of https://www.graphics.rwth-aachen.de:9000/ptrettner/polymesh into develop

parents 1da4db1c d695a117
......@@ -26,12 +26,10 @@ struct unique_array
}
unique_array& operator=(unique_array&& rhs) noexcept
{
if (this != &rhs)
{
delete[] ptr;
ptr = rhs.ptr;
rhs.ptr = nullptr;
}
// self-move results in moved-from state
delete[] ptr;
ptr = rhs.ptr;
rhs.ptr = nullptr;
return *this;
}
......
Supports Markdown
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