mirror of https://github.com/CGAL/cgal
Do not take argument of P3T3 operator= by reference
Since we're swapping, it needs to be copy
This commit is contained in:
parent
3e1bf168f8
commit
9b5b558101
|
|
@ -295,7 +295,7 @@ public:
|
||||||
virtual ~Periodic_3_triangulation_3() {}
|
virtual ~Periodic_3_triangulation_3() {}
|
||||||
|
|
||||||
/** @name Assignment */ //@{
|
/** @name Assignment */ //@{
|
||||||
Periodic_3_triangulation_3& operator=(Periodic_3_triangulation_3& tr)
|
Periodic_3_triangulation_3& operator=(Periodic_3_triangulation_3 tr)
|
||||||
{
|
{
|
||||||
swap(tr);
|
swap(tr);
|
||||||
return *this;
|
return *this;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue