mirror of https://github.com/CGAL/cgal
Add missing members in move-operators
This commit is contained in:
parent
fcf883a2f7
commit
53b1d3e0df
|
|
@ -253,6 +253,7 @@ public:
|
||||||
: at(std::move(other.at)), et(other.et)
|
: at(std::move(other.at)), et(other.et)
|
||||||
{
|
{
|
||||||
other.et = nullptr;
|
other.et = nullptr;
|
||||||
|
this->count = std::move(other.count);
|
||||||
}
|
}
|
||||||
|
|
||||||
//move-assignment
|
//move-assignment
|
||||||
|
|
@ -265,6 +266,7 @@ public:
|
||||||
this->et = other.et;
|
this->et = other.et;
|
||||||
other.et = nullptr;
|
other.et = nullptr;
|
||||||
this->at = std::move(other.at);
|
this->at = std::move(other.at);
|
||||||
|
this->count = std::move(other.count);
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class A>
|
template<class A>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue