From 59b67d95d37a0e8a70e79bd5bc093332d5c4ba51 Mon Sep 17 00:00:00 2001 From: alemuntoni Date: Wed, 6 May 2020 15:56:15 +0200 Subject: [PATCH] removed FacePos and PerMeshAttributeHandle assignment operators --- vcg/complex/base.h | 10 +++++----- vcg/simplex/face/pos.h | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/vcg/complex/base.h b/vcg/complex/base.h index b58baa5c..c2f17442 100644 --- a/vcg/complex/base.h +++ b/vcg/complex/base.h @@ -332,11 +332,11 @@ public: public: PerMeshAttributeHandle(){_handle=NULL;} PerMeshAttributeHandle(void *ah,const int & n):_handle ( (Attribute *)ah ),n_attr(n){} - PerMeshAttributeHandle operator = ( const PerMeshAttributeHandle & pva){ - _handle = (Attribute *)pva._handle; - n_attr = pva.n_attr; - return (*this); - } + //PerMeshAttributeHandle operator = ( const PerMeshAttributeHandle & pva){ + // _handle = (Attribute *)pva._handle; + // n_attr = pva.n_attr; + // return (*this); + //} Attribute * _handle; int n_attr; diff --git a/vcg/simplex/face/pos.h b/vcg/simplex/face/pos.h index 0f7dedc4..bfc0103f 100644 --- a/vcg/simplex/face/pos.h +++ b/vcg/simplex/face/pos.h @@ -129,12 +129,12 @@ public: } /// Assignment operator - inline PosType & operator = ( const PosType & h ){ - f=h.f; - z=h.z; - v=h.v; - return *this; - } + //inline PosType & operator = ( const PosType & h ){ + // f=h.f; + // z=h.z; + // v=h.v; + // return *this; + //} /// Set to null the half-edge void SetNull(){