mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0032907: Coding Rules - eliminate MSVC warning C5054 on VS2019/C++20 (operator &,|: deprecated between enumerations of different types)
operator `&`,`|`: deprecated between enumerations of different types
This commit is contained in:
@@ -96,7 +96,7 @@ public:
|
||||
void Orientation (const Standard_Integer I, const TopAbs_Orientation Or)
|
||||
{
|
||||
myFlags(I) &= ~EMaskOrient;
|
||||
myFlags(I) |= (Or & EMaskOrient);
|
||||
myFlags(I) |= ((Standard_Integer)Or & (Standard_Integer)EMaskOrient);
|
||||
}
|
||||
|
||||
TopAbs_Orientation Orientation (const Standard_Integer I) const
|
||||
|
Reference in New Issue
Block a user