Fix some more warnings
This commit is contained in:
parent
9d452a6097
commit
8a7044c3fb
|
@ -52,7 +52,7 @@ class OBJECT_3D
|
||||||
public:
|
public:
|
||||||
explicit OBJECT_3D( OBJECT_3D_TYPE aObjType );
|
explicit OBJECT_3D( OBJECT_3D_TYPE aObjType );
|
||||||
|
|
||||||
const void SetBoardItem( BOARD_ITEM* aBoardItem ) { m_boardItem = aBoardItem; }
|
void SetBoardItem( BOARD_ITEM* aBoardItem ) { m_boardItem = aBoardItem; }
|
||||||
BOARD_ITEM* GetBoardItem() const { return m_boardItem; }
|
BOARD_ITEM* GetBoardItem() const { return m_boardItem; }
|
||||||
|
|
||||||
void SetMaterial( const MATERIAL* aMaterial )
|
void SetMaterial( const MATERIAL* aMaterial )
|
||||||
|
|
|
@ -33,7 +33,7 @@ namespace PNS {
|
||||||
|
|
||||||
static void dumpObstacles( const PNS::NODE::OBSTACLES &obstacles )
|
static void dumpObstacles( const PNS::NODE::OBSTACLES &obstacles )
|
||||||
{
|
{
|
||||||
printf( "&&&& %lu obstacles: \n", obstacles.size() );
|
printf( "&&&& %zu obstacles: \n", obstacles.size() );
|
||||||
|
|
||||||
for( const auto& obs : obstacles )
|
for( const auto& obs : obstacles )
|
||||||
{
|
{
|
||||||
|
|
|
@ -1449,7 +1449,7 @@ bool BOARD_OUTLINE::DelOutline( size_t aIndex )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const std::list< IDF_OUTLINE* >*const BOARD_OUTLINE::GetOutlines( void )
|
const std::list<IDF_OUTLINE*>* BOARD_OUTLINE::GetOutlines( void )
|
||||||
{
|
{
|
||||||
return &outlines;
|
return &outlines;
|
||||||
}
|
}
|
||||||
|
|
|
@ -182,7 +182,7 @@ public:
|
||||||
* It is up to the user to respect the IDFv3 specification and avoid changes to this
|
* It is up to the user to respect the IDFv3 specification and avoid changes to this
|
||||||
* list which are in violation of the specification.
|
* list which are in violation of the specification.
|
||||||
*/
|
*/
|
||||||
const std::list< IDF_OUTLINE* >*const GetOutlines( void );
|
const std::list<IDF_OUTLINE*>* GetOutlines( void );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the number of items in the internal outline list.
|
* @return the number of items in the internal outline list.
|
||||||
|
|
|
@ -1093,7 +1093,7 @@ bool IDF3_COMPONENT::DelDrill( IDF_DRILL_DATA* aDrill )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const std::list< IDF_DRILL_DATA* >*const IDF3_COMPONENT::GetDrills( void )
|
const std::list<IDF_DRILL_DATA*>* IDF3_COMPONENT::GetDrills( void )
|
||||||
{
|
{
|
||||||
return &drills;
|
return &drills;
|
||||||
}
|
}
|
||||||
|
|
|
@ -299,7 +299,7 @@ public:
|
||||||
*
|
*
|
||||||
* To avoid IDF violations, the user should not alter these entries.
|
* To avoid IDF violations, the user should not alter these entries.
|
||||||
*/
|
*/
|
||||||
const std::list< IDF_DRILL_DATA* >* const GetDrills( void );
|
const std::list<IDF_DRILL_DATA*>* GetDrills( void );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add the given component outline data to this component.
|
* Add the given component outline data to this component.
|
||||||
|
|
Loading…
Reference in New Issue