Commit 77055cac authored by Pierre Kraemer's avatar Pierre Kraemer

bla

parent d148d703
...@@ -193,10 +193,10 @@ public: ...@@ -193,10 +193,10 @@ public:
* shortcut class for Vertex Attribute (Handler) * shortcut class for Vertex Attribute (Handler)
*/ */
template <typename T> template <typename T>
class VertexAttribute : public AttributeHandler<T,VERTEX> class VertexAttribute : public AttributeHandler<T, VERTEX>
{ {
public: public:
VertexAttribute<T>& operator=(const AttributeHandler<T,VERTEX>& ta) { this->AttributeHandler<T,VERTEX>::operator=(ta); return *this;} VertexAttribute<T>& operator=(const AttributeHandler<T, VERTEX>& ta) { this->AttributeHandler<T, VERTEX>::operator=(ta); return *this; }
}; };
/** /**
...@@ -206,7 +206,7 @@ template <typename T> ...@@ -206,7 +206,7 @@ template <typename T>
class EdgeAttribute : public AttributeHandler<T,EDGE> class EdgeAttribute : public AttributeHandler<T,EDGE>
{ {
public: public:
EdgeAttribute<T>& operator=(const AttributeHandler<T,EDGE>& ta) { this->AttributeHandler<T,EDGE>::operator=(ta); return *this;} EdgeAttribute<T>& operator=(const AttributeHandler<T, EDGE>& ta) { this->AttributeHandler<T, EDGE>::operator=(ta); return *this; }
}; };
/** /**
...@@ -216,7 +216,7 @@ template <typename T> ...@@ -216,7 +216,7 @@ template <typename T>
class FaceAttribute : public AttributeHandler<T,FACE> class FaceAttribute : public AttributeHandler<T,FACE>
{ {
public: public:
FaceAttribute<T>& operator=(const AttributeHandler<T,FACE>& ta) { this->AttributeHandler<T,FACE>::operator=(ta); return *this;} FaceAttribute<T>& operator=(const AttributeHandler<T, FACE>& ta) { this->AttributeHandler<T, FACE>::operator=(ta); return *this; }
}; };
/** /**
...@@ -226,12 +226,9 @@ template <typename T> ...@@ -226,12 +226,9 @@ template <typename T>
class VolumeAttribute : public AttributeHandler<T,VOLUME> class VolumeAttribute : public AttributeHandler<T,VOLUME>
{ {
public: public:
VolumeAttribute<T>& operator=(const AttributeHandler<T,VOLUME>& ta) { this->AttributeHandler<T,VOLUME>::operator=(ta); return *this;} VolumeAttribute<T>& operator=(const AttributeHandler<T, VOLUME>& ta) { this->AttributeHandler<T, VOLUME>::operator=(ta); return *this; }
}; };
} // namespace CGoGN } // namespace CGoGN
#include "Topology/generic/attributeHandler.hpp" #include "Topology/generic/attributeHandler.hpp"
......
...@@ -86,7 +86,7 @@ inline AttributeHandler<T, ORBIT>& AttributeHandler<T, ORBIT>::operator=(const A ...@@ -86,7 +86,7 @@ inline AttributeHandler<T, ORBIT>& AttributeHandler<T, ORBIT>::operator=(const A
valid = ta.valid ; valid = ta.valid ;
if(valid) if(valid)
registerInMap() ; registerInMap() ;
return *this; return *this ;
} }
template <typename T, unsigned int ORBIT> template <typename T, unsigned int ORBIT>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment