Commented out 'override' keyword due to problems with older swig versions (see bug lp:1579042).
This commit is contained in:
parent
7b669c1b03
commit
35fe82739b
|
@ -238,7 +238,7 @@ public:
|
|||
#define MODULE_PADS_LOCKED 0x08 ///< In autoplace: module waiting for autoplace
|
||||
|
||||
|
||||
bool IsLocked() const override
|
||||
bool IsLocked() const // override
|
||||
{
|
||||
return ( m_ModuleStatus & MODULE_is_LOCKED ) != 0;
|
||||
}
|
||||
|
@ -248,7 +248,7 @@ public:
|
|||
* sets the MODULE_is_LOCKED bit in the m_ModuleStatus
|
||||
* @param isLocked When true means turn on locked status, else unlock
|
||||
*/
|
||||
void SetLocked( bool isLocked ) override
|
||||
void SetLocked( bool isLocked ) // override
|
||||
{
|
||||
if( isLocked )
|
||||
m_ModuleStatus |= MODULE_is_LOCKED;
|
||||
|
|
|
@ -132,8 +132,15 @@ public:
|
|||
// Virtual function
|
||||
const EDA_RECT GetBoundingBox() const;
|
||||
|
||||
bool IsLocked() const override { return GetState( TRACK_LOCKED ); }
|
||||
void SetLocked( bool aLocked ) override { return SetState( TRACK_LOCKED, aLocked ); }
|
||||
bool IsLocked() const // override
|
||||
{
|
||||
return GetState( TRACK_LOCKED );
|
||||
}
|
||||
|
||||
void SetLocked( bool aLocked ) // override
|
||||
{
|
||||
return SetState( TRACK_LOCKED, aLocked );
|
||||
}
|
||||
|
||||
/**
|
||||
* Function GetBestInsertPoint
|
||||
|
|
Loading…
Reference in New Issue