Addess -Wdeprecated-anon-enum-enum-conversion

This commit is contained in:
Andreas Fabri 2021-11-10 08:22:46 +00:00
parent 6680a6e6f9
commit a2ae7d8e13
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ public:
// Invalid arc:
if (dir_res == EQUAL) return;
this->_info = (Conic_arc_2::IS_VALID | DEGREE_1);
this->_info = (static_cast<int>(Conic_arc_2::IS_VALID) | static_cast<int>(DEGREE_1));
if (dir_res == SMALLER)
this->_info = (this->_info | IS_DIRECTED_RIGHT);