diff --git a/include/osgUtil/Tessellator b/include/osgUtil/Tessellator index 2173845e8..ee7dd8552 100644 --- a/include/osgUtil/Tessellator +++ b/include/osgUtil/Tessellator @@ -60,15 +60,15 @@ class OSGUTIL_EXPORT Tessellator : public osg::Referenced /** Set and get tessellation request boundary only on/off */ void setBoundaryOnly (const bool tt) { _boundaryOnly=tt;} - inline const bool getBoundaryOnly ( ) { return _boundaryOnly;} + inline bool getBoundaryOnly ( ) { return _boundaryOnly;} /** Set and get tessellation windong rule */ void setWindingType (const WindingType wt) { _wtype=wt;} - inline const WindingType getWindingType ( ) { return _wtype;} + inline WindingType getWindingType ( ) { return _wtype;} /** Set and get tessellation type */ void setTessellationType (const TessellationType tt) { _ttype=tt;} - inline const TessellationType getTessellationType ( ) { return _ttype;} + inline TessellationType getTessellationType ( ) { return _ttype;} /** Change the contours lists of the geometry into tessellated primitives (the * list of primitives in the original geometry is stored in the Tessellator for diff --git a/include/osgUtil/TriStripVisitor b/include/osgUtil/TriStripVisitor index 824fcbc21..c1d4d67b8 100644 --- a/include/osgUtil/TriStripVisitor +++ b/include/osgUtil/TriStripVisitor @@ -61,7 +61,7 @@ class OSGUTIL_EXPORT TriStripVisitor : public BaseOptimizerVisitor return _cacheSize; } - inline const unsigned int getCacheSize() const + inline unsigned int getCacheSize() const { return _cacheSize; } @@ -76,7 +76,7 @@ class OSGUTIL_EXPORT TriStripVisitor : public BaseOptimizerVisitor return _minStripSize; } - inline const unsigned int getMinStripSize() const + inline unsigned int getMinStripSize() const { return _minStripSize; }