diff --git a/math/genvector/inc/Math/GenVector/Plane3D.h b/math/genvector/inc/Math/GenVector/Plane3D.h index 6cd0529ef5e2755efa9119a378c2fa28de0017a7..7e4b53cff84f389a78c7e57decf5103b2b557455 100644 --- a/math/genvector/inc/Math/GenVector/Plane3D.h +++ b/math/genvector/inc/Math/GenVector/Plane3D.h @@ -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