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:
@@ -33,7 +33,7 @@ Geode::~Geode()
|
||||
}
|
||||
}
|
||||
|
||||
const bool Geode::addDrawable( Drawable *drawable )
|
||||
bool Geode::addDrawable( Drawable *drawable )
|
||||
{
|
||||
if (drawable && !containsDrawable(drawable))
|
||||
{
|
||||
@@ -56,7 +56,7 @@ const bool Geode::addDrawable( Drawable *drawable )
|
||||
}
|
||||
|
||||
|
||||
const bool Geode::removeDrawable( Drawable *drawable )
|
||||
bool Geode::removeDrawable( Drawable *drawable )
|
||||
{
|
||||
DrawableList::iterator itr = findDrawable(drawable);
|
||||
if (itr!=_drawables.end())
|
||||
@@ -80,7 +80,7 @@ const bool Geode::removeDrawable( Drawable *drawable )
|
||||
}
|
||||
|
||||
|
||||
const bool Geode::replaceDrawable( Drawable *origDrawable, Drawable *newDrawable )
|
||||
bool Geode::replaceDrawable( Drawable *origDrawable, Drawable *newDrawable )
|
||||
{
|
||||
if (newDrawable==NULL || origDrawable==newDrawable) return false;
|
||||
|
||||
@@ -115,7 +115,7 @@ const bool Geode::replaceDrawable( Drawable *origDrawable, Drawable *newDrawable
|
||||
}
|
||||
|
||||
|
||||
const bool Geode::computeBound() const
|
||||
bool Geode::computeBound() const
|
||||
{
|
||||
_bsphere.init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user