made null-initialization of FFp more explicit
This commit is contained in:
parent
15ea014cf9
commit
c220b3b415
|
|
@ -613,9 +613,9 @@ face of the ring of faces incident on a edge.
|
|||
template <class T> class FFAdj: public T {
|
||||
public:
|
||||
FFAdj(){
|
||||
_ffp[0]=0;
|
||||
_ffp[1]=0;
|
||||
_ffp[2]=0;
|
||||
_ffp[0]=nullptr; // null == not initialized
|
||||
_ffp[1]=nullptr;
|
||||
_ffp[2]=nullptr;
|
||||
}
|
||||
typename T::FacePointer &FFp(const int j) { assert(j>=0 && j<3); return _ffp[j]; }
|
||||
typename T::FacePointer cFFp(const int j) const { assert(j>=0 && j<3); return _ffp[j]; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue