Skip to content
Snippets Groups Projects
Unverified Commit d564112e authored by Guilherme Amadio's avatar Guilherme Amadio Committed by GitHub
Browse files

Merge pull request #3927 from amadio/ROOT-10127

Use default copy constructor and assignment operator for Plane3D
parent 9a0461c2
No related branches found
No related tags found
No related merge requests found
......@@ -117,20 +117,14 @@ public:
}
// compiler-generated copy ctor and dtor are fine.
Plane3D(const Plane3D &) = default;
// ------ assignment ------
/**
Assignment operator from other Plane3D class
*/
Plane3D &operator=(const Plane3D &plane)
{
fA = plane.fA;
fB = plane.fB;
fC = plane.fC;
fD = plane.fD;
return *this;
}
Plane3D &operator=(const Plane3D &) = default;
/**
Return the a coefficient of the plane equation \f$ a*x + b*y + c*z + d = 0 \f$. It is also the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment