Fix -Wdeprecated-copy
This commit is contained in:
@@ -39,6 +39,11 @@
|
||||
using namespace MeshCore;
|
||||
using namespace Wm4;
|
||||
|
||||
MeshPointArray::MeshPointArray(const MeshPointArray& ary)
|
||||
: TMeshPointArray(ary)
|
||||
{
|
||||
}
|
||||
|
||||
unsigned long MeshPointArray::Get (const MeshPoint &rclPoint)
|
||||
{
|
||||
iterator clIter;
|
||||
@@ -97,6 +102,12 @@ void MeshPointArray::Transform(const Base::Matrix4D& mat)
|
||||
mat.multVec(*pP,*pP);
|
||||
}
|
||||
|
||||
MeshFacetArray::MeshFacetArray(const MeshFacetArray& ary)
|
||||
: TMeshFacetArray(ary)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void MeshFacetArray::Erase (_TIterator pIter)
|
||||
{
|
||||
unsigned long i, *pulN;
|
||||
|
||||
@@ -548,6 +548,8 @@ public:
|
||||
MeshPointArray (void) { }
|
||||
// constructor
|
||||
MeshPointArray (unsigned long ulSize) : TMeshPointArray(ulSize) { }
|
||||
/// copy-constructor
|
||||
MeshPointArray (const MeshPointArray&);
|
||||
// Destructor
|
||||
~MeshPointArray (void) { }
|
||||
//@}
|
||||
@@ -600,6 +602,8 @@ public:
|
||||
MeshFacetArray (void) { }
|
||||
/// constructor
|
||||
MeshFacetArray (unsigned long ulSize) : TMeshFacetArray(ulSize) { }
|
||||
/// copy-constructor
|
||||
MeshFacetArray (const MeshFacetArray&);
|
||||
/// destructor
|
||||
~MeshFacetArray (void) { }
|
||||
//@}
|
||||
|
||||
@@ -41,6 +41,14 @@ struct Point3d
|
||||
{
|
||||
}
|
||||
|
||||
Point3d(const Point3d& pnt) : p(pnt.p), i(pnt.i)
|
||||
{
|
||||
}
|
||||
|
||||
~Point3d()
|
||||
{
|
||||
}
|
||||
|
||||
inline value_type operator[](const int N) const
|
||||
{
|
||||
return p[N];
|
||||
|
||||
Reference in New Issue
Block a user