diff --git a/vcg/space/box3.h b/vcg/space/box3.h index 3bd1928e..81717931 100644 --- a/vcg/space/box3.h +++ b/vcg/space/box3.h @@ -52,7 +52,7 @@ public: /// The bounding box constructor inline Box3() { this->SetNull(); } /// Copy constructor - inline Box3( const Box3 & b ) { min=b.min; max=b.max; } + //inline Box3( const Box3 & b ) { min=b.min; max=b.max; } /// Min Max constructor inline Box3( const Point3 & mi, const Point3 & ma ) { min = mi; max = ma; } /// Point Radius Constructor diff --git a/wrap/gui/trackball.h b/wrap/gui/trackball.h index fc70a36a..9d3a87f2 100644 --- a/wrap/gui/trackball.h +++ b/wrap/gui/trackball.h @@ -202,7 +202,7 @@ public: private: // Trackball must not be copied. Use Append (see vcg/complex/trimesh/append.h) - Trackball operator =(const Trackball & /*m*/){ assert(0); return *this; } + Trackball operator =(const Trackball & /*m*/) = delete; public: /*! @brief Reset the trackball.