Salome HOME
C++98 compatibility (remove C++11 staff)
authorvsr <vsr@opencascade.com>
Sat, 20 Feb 2016 07:20:57 +0000 (10:20 +0300)
committervsr <vsr@opencascade.com>
Sat, 20 Feb 2016 07:20:57 +0000 (10:20 +0300)
src/SMESHGUI/SMESHGUI_Selection.cxx

index 8c12c817b4ea0e233ebe23d7a63a40ea44174ebd..9895612c3ef499ce1a1e76c10f4be767a360b65e 100644 (file)
@@ -247,7 +247,7 @@ bool SMESHGUI_Selection::isQuadratic( int ind ) const
   if ( idSource->_is_nil() )
     return false;
   SMESHGUI_ConvToQuadOp::MeshDestinationType meshTgtType = SMESHGUI_ConvToQuadOp::DestinationMesh( idSource );
-  if ( meshTgtType & SMESHGUI_ConvToQuadOp::MeshDestinationType::Linear )
+  if ( meshTgtType & SMESHGUI_ConvToQuadOp::Linear )
     return true;
   return false;
 }