added two const to the next and prev index returning functions
This commit is contained in:
parent
cca3b3ad5f
commit
007d6b94f5
|
@ -109,8 +109,8 @@ class FaceTypeHolder{
|
|||
|
||||
// prot
|
||||
const int VN() const { return 3;}
|
||||
inline int Prev(const int & i){ return (i+(3-1))%3;}
|
||||
inline int Next(const int & i){ return (i+1)%3;}
|
||||
inline const int Prev(const int & i) const { return (i+(3-1))%3;}
|
||||
inline const int Next(const int & i) const { return (i+1)%3;}
|
||||
inline void Alloc(const int & ){}
|
||||
inline void Dealloc(){}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue