More double const warnings

This commit is contained in:
Marek Roszko 2023-05-20 08:09:56 -04:00
parent ded099c07d
commit 88bf6b2627
2 changed files with 8 additions and 8 deletions

View File

@ -1208,7 +1208,7 @@ size_t IDF3_COMPONENT::GetOutlinesSize( void )
}
const std::list< IDF3_COMP_OUTLINE_DATA* >*const IDF3_COMPONENT::GetOutlinesData( void )
const std::list< IDF3_COMP_OUTLINE_DATA* >* IDF3_COMPONENT::GetOutlinesData( void )
{
return &components;
}
@ -3480,7 +3480,7 @@ BOARD_OUTLINE* IDF3_BOARD::GetBoardOutline( void )
}
const std::list< IDF_OUTLINE* >*const IDF3_BOARD::GetBoardOutlines( void )
const std::list< IDF_OUTLINE* >* IDF3_BOARD::GetBoardOutlines( void )
{
return olnBoard.GetOutlines();
}
@ -3925,7 +3925,7 @@ size_t IDF3_BOARD::GetComponentsSize( void )
}
std::map< std::string, IDF3_COMPONENT* >*const IDF3_BOARD::GetComponents( void )
std::map< std::string, IDF3_COMPONENT* >* IDF3_BOARD::GetComponents( void )
{
return &components;
}
@ -4411,7 +4411,7 @@ void IDF3_BOARD::Clear( void )
}
const std::map<std::string, OTHER_OUTLINE*>* const IDF3_BOARD::GetOtherOutlines( void )
const std::map<std::string, OTHER_OUTLINE*>* IDF3_BOARD::GetOtherOutlines( void )
{
return &olnOther;
}

View File

@ -334,7 +334,7 @@ public:
/**
* @return the internal list of outline data.
*/
const std::list< IDF3_COMP_OUTLINE_DATA* >*const GetOutlinesData( void );
const std::list< IDF3_COMP_OUTLINE_DATA* >* GetOutlinesData( void );
/**
* Retrieve the internal position parameters and returns true if the
@ -470,10 +470,10 @@ public:
bool DelBoardOutline( size_t aIndex );
size_t GetBoardOutlinesSize( void );
BOARD_OUTLINE* GetBoardOutline( void );
const std::list< IDF_OUTLINE* >*const GetBoardOutlines( void );
const std::list< IDF_OUTLINE* >* GetBoardOutlines( void );
// Operations for OTHER OUTLINES
const std::map<std::string, OTHER_OUTLINE*>*const GetOtherOutlines( void );
const std::map<std::string, OTHER_OUTLINE*>* GetOtherOutlines( void );
/// XXX - TO BE IMPLEMENTED
//
@ -554,7 +554,7 @@ public:
bool DelComponent( IDF3_COMPONENT* aComponent );
bool DelComponent( size_t aIndex );
size_t GetComponentsSize( void );
std::map< std::string, IDF3_COMPONENT* >*const GetComponents( void );
std::map< std::string, IDF3_COMPONENT* >* GetComponents( void );
IDF3_COMPONENT* FindComponent( const std::string& aRefDes );
// Return a pointer to a component outline object or NULL if the object doesn't exist.