mirror of https://github.com/CGAL/cgal
Fix compilation after change of Facet_status to strong enum
This commit is contained in:
parent
8f409f03ff
commit
00acf4f752
|
|
@ -1000,10 +1000,11 @@ private:
|
|||
"Traversable facet"
|
||||
};
|
||||
|
||||
if(status > status_count || status < 0)
|
||||
const std::size_t status_id = static_cast<std::size_t>(status);
|
||||
if(status_id > status_count || status_id < 0)
|
||||
return "Unknown status";
|
||||
else
|
||||
return message[status];
|
||||
return message[status_id];
|
||||
}
|
||||
|
||||
public:
|
||||
|
|
|
|||
Loading…
Reference in New Issue