From c1332f689361b0b3937479456a3cd4fef590de1f Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 10 May 2007 18:07:15 +0000 Subject: [PATCH] Removed rendundent const --- include/osg/Uniform | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/osg/Uniform b/include/osg/Uniform index 70b43e45c..46365238b 100644 --- a/include/osg/Uniform +++ b/include/osg/Uniform @@ -169,6 +169,7 @@ class OSG_EXPORT Uniform : public Object }; public: + Uniform(); Uniform( Type type, const std::string& name, int numElements=1 ); @@ -182,7 +183,7 @@ class OSG_EXPORT Uniform : public Object bool setType( Type t ); /** Get the type of glUniform as enum. */ - const Type getType() const { return _type; } + Type getType() const { return _type; } /** Set the name of the glUniform, ensuring it is only set once.*/ void setName( const std::string& name );