From ea6a4d895ae793e786c7f6e0481b19ae1314022a Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 27 Jul 2010 15:04:01 +0000 Subject: [PATCH] Minor change --- src/GLViewer/GLViewer_Geom.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.39.2