Salome HOME
Python container is obsolete
[modules/gui.git] / src / OCCViewer / OCCViewer_ClipPlane.cxx
index f94721663250db5690dd92a9c786430be564266f..3972a9ff611e0ecc515c2c2a5f7027336e279893 100644 (file)
@@ -46,6 +46,7 @@ OrientedPlane& OrientedPlane::operator = ( const OrientedPlane& other )
   Distance = other.Distance;
   Rotation1 = other.Rotation1;
   Rotation2 = other.Rotation2;
+  return *this;
 }
 
 OCCViewer_ClipPlane::OCCViewer_ClipPlane() :
@@ -77,4 +78,5 @@ OCCViewer_ClipPlane& OCCViewer_ClipPlane::operator = ( const OCCViewer_ClipPlane
   IsInvert = other.IsInvert;
   PlaneMode = other.PlaneMode;
   IsOn = other.IsOn;
+  return *this;
 }