Converted the instances of const built in types being returned from methods
and passed as paramters into straight forward non const built in types, i.e. const bool foogbar(const int) becomes bool foobar(int).
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include <vector>
|
||||
#include <set>
|
||||
|
||||
const bool osg::isGLExtensionSupported(const char *extension)
|
||||
bool osg::isGLExtensionSupported(const char *extension)
|
||||
{
|
||||
typedef std::set<std::string> ExtensionSet;
|
||||
static ExtensionSet s_extensionSet;
|
||||
@@ -52,7 +52,7 @@ const bool osg::isGLExtensionSupported(const char *extension)
|
||||
return result;
|
||||
}
|
||||
|
||||
const bool osg::isGLUExtensionSupported(const char *extension)
|
||||
bool osg::isGLUExtensionSupported(const char *extension)
|
||||
{
|
||||
typedef std::set<std::string> ExtensionSet;
|
||||
static ExtensionSet s_extensionSet;
|
||||
|
||||
Reference in New Issue
Block a user