Commented out 'override' keyword due to problems with older swig versions (see bug lp:1579042).

This commit is contained in:
Maciej Suminski 2016-05-10 14:35:36 +02:00
parent 7b669c1b03
commit 35fe82739b
2 changed files with 11 additions and 4 deletions

View File

@ -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;

View File

@ -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