From: ouv Date: Tue, 27 Jul 2010 15:04:01 +0000 (+0000) Subject: Minor change X-Git-Tag: DIAGRAM_0_1~52 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ea6a4d895ae793e786c7f6e0481b19ae1314022a;p=modules%2Fgui.git Minor change --- diff --git a/src/GLViewer/GLViewer_Geom.h b/src/GLViewer/GLViewer_Geom.h index 39b67c006..770f358b9 100644 --- a/src/GLViewer/GLViewer_Geom.h +++ b/src/GLViewer/GLViewer_Geom.h @@ -180,7 +180,7 @@ public: virtual ~GLViewer_Poly(); //! Adds point to polygon - void AddPoint( GLViewer_Pnt& pnt ) { myPoints->append( pnt ); } + void AddPoint( const GLViewer_Pnt& thePnt ) { myPoints->append( thePnt ); } //! Returns number of point int Count() const { return myPoints->count(); }