corrected a few c++ error detected by clang

This commit is contained in:
Paolo Cignoni cignoni 2011-09-18 15:29:31 +00:00
parent e50de8628f
commit dd97666bbe
3 changed files with 5 additions and 4 deletions

View File

@ -90,7 +90,7 @@ public:
}
CoordType RPos;
static const bool Has_Auxiliary(){return false;}
static bool Has_Auxiliary(){return false;}
};
class ParamFace: public vcg::Face < ParamUsedTypes,

View File

@ -364,7 +364,7 @@ public:
delete(p);
}
typedef struct Elem
struct Elem
{
public:
VertexType *center;
@ -372,7 +372,7 @@ public:
int t_mark;
//bool operator <(Elem* e){return (priority<e.priority);}
inline const bool operator <(const Elem& e) const
inline bool operator <(const Elem& e) const
{
return (priority<e.priority);
//return (locModPtr->Priority() < h.locModPtr->Priority());
@ -385,6 +385,7 @@ public:
t_mark=_t_mark;
}
};
std::vector<Elem> Operations;

View File

@ -41,7 +41,7 @@ public:
//num_collapse=1;
}
static const bool Has_Auxiliary(){return true;}
static bool Has_Auxiliary(){return true;}
vcg::Point2<ScalarType> RestUV;