Initialize FaceInfo properly. Caused problems with some compilers, e.g. on Ubuntu 12.04

master
Marius Kintel 2014-05-26 17:35:37 -04:00
parent f4278926f8
commit ce24e2e29b
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ namespace Polygon2DCGAL {
struct FaceInfo
{
FaceInfo() {}
FaceInfo() : nesting_level(42) {}
int nesting_level;
bool in_domain() { return nesting_level%2 == 1; }
};