Fix a warning about uninitialized value (?)

Maybe in a case where 'Mark' is a handle?
This commit is contained in:
Mael Rouxel-Labbé 2020-02-11 08:57:59 +01:00
parent bd8371a295
commit 6bd978caa4
1 changed files with 7 additions and 2 deletions

View File

@ -540,8 +540,13 @@ public:
Mark m[2];
Object_handle o_supp[2];
SHalfedge_handle e_below;
vertex_info()
{ o_supp[0]=o_supp[1]=Object_handle(); }
vertex_info()
{
m[0]=m[1]=Mark();
o_supp[0]=o_supp[1]=Object_handle();
}
LEDA_MEMORY(vertex_info)
}; // vertex_info