Skip to content

Commit 7408755

Browse files
committed
rename local variables in chuck_type to avoid ambiguity
1 parent cea133d commit 7408755

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/core/chuck_type.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5947,12 +5947,12 @@ Chuck_Namespace::~Chuck_Namespace()
59475947
// name: add_type()
59485948
// desc: add type to name space
59495949
//-----------------------------------------------------------------------------
5950-
void Chuck_Namespace::add_type( const std::string & xid, Chuck_Type * type )
5950+
void Chuck_Namespace::add_type( const std::string & xid, Chuck_Type * theType )
59515951
{
59525952
// log it
5953-
EM_log( CK_LOG_DEBUG, "namespace '%s' adding type '%s'->'%s'", this->name.c_str(), xid.c_str(), type->name().c_str() );
5953+
EM_log( CK_LOG_DEBUG, "namespace '%s' adding type '%s'->'%s'", this->name.c_str(), xid.c_str(), theType->name().c_str() );
59545954
// add it
5955-
this->type.add( xid, type );
5955+
this->type.add( xid, theType );
59565956
}
59575957

59585958

@@ -5962,12 +5962,12 @@ void Chuck_Namespace::add_type( const std::string & xid, Chuck_Type * type )
59625962
// name: add_value()
59635963
// desc: add value to name space
59645964
//-----------------------------------------------------------------------------
5965-
void Chuck_Namespace::add_value( const std::string & xid, Chuck_Value * value )
5965+
void Chuck_Namespace::add_value( const std::string & xid, Chuck_Value * theValue )
59665966
{
59675967
// log it
5968-
EM_log( CK_LOG_DEBUG, "namespace '%s' adding value '%s'->'%s'", this->name.c_str(), xid.c_str(), value->name.c_str() );
5968+
EM_log( CK_LOG_DEBUG, "namespace '%s' adding value '%s'->'%s'", this->name.c_str(), xid.c_str(), theValue->name.c_str() );
59695969
// add it
5970-
this->value.add( xid, value );
5970+
this->value.add( xid, theValue );
59715971
}
59725972

59735973

@@ -5977,12 +5977,12 @@ void Chuck_Namespace::add_value( const std::string & xid, Chuck_Value * value )
59775977
// name: add_func()
59785978
// desc: add type to name space
59795979
//-----------------------------------------------------------------------------
5980-
void Chuck_Namespace::add_func( const std::string & xid, Chuck_Func * func )
5980+
void Chuck_Namespace::add_func( const std::string & xid, Chuck_Func * theFunc )
59815981
{
59825982
// log it
5983-
EM_log( CK_LOG_DEBUG, "namespace '%s' adding func '%s'->'%s'", this->name.c_str(), xid.c_str(), func->base_name.c_str() );
5983+
EM_log( CK_LOG_DEBUG, "namespace '%s' adding func '%s'->'%s'", this->name.c_str(), xid.c_str(), theFunc->base_name.c_str() );
59845984
// add it
5985-
this->func.add( xid, func );
5985+
this->func.add( xid, theFunc );
59865986
}
59875987

59885988

0 commit comments

Comments
 (0)