diff --git a/GeoLib/PointVec.h b/GeoLib/PointVec.h index 91f983aca4978a09c4af9204603752a3756a725e..74ece3d0462321e12488d320ee40ffa44dd06913 100644 --- a/GeoLib/PointVec.h +++ b/GeoLib/PointVec.h @@ -116,17 +116,11 @@ private: */ void correctNameIDMapping(); - /** copy constructor doesn't have an implementation */ - // compiler does not create a (possible unwanted) copy constructor - PointVec(const PointVec&); - /** standard constructor doesn't have an implementation */ - // compiler does not create a (possible unwanted) standard constructor - PointVec(); - - /** assignment operator doesn't have an implementation */ - // this way the compiler does not create a (possible unwanted) assignment - // operator - PointVec& operator=(const PointVec& rhs); + PointVec(PointVec&&) = delete; + PointVec(const PointVec&) = delete; + PointVec() = delete; + PointVec& operator=(const PointVec& rhs) = delete; + PointVec& operator=(PointVec&& rhs) = delete; /** * Inserts the instance of the Point into internal data structures