]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Minor change
authorouv <ouv@opencascade.com>
Tue, 27 Jul 2010 15:04:01 +0000 (15:04 +0000)
committerouv <ouv@opencascade.com>
Tue, 27 Jul 2010 15:04:01 +0000 (15:04 +0000)
src/GLViewer/GLViewer_Geom.h

index 39b67c0064d32a746be508ce5dcc52575335a402..770f358b92ab1e13f1afcce7e1378999bdec3d96 100644 (file)
@@ -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(); }