Fix some OSX compiler warnings
This commit is contained in:
parent
a5ff27cae7
commit
916a15793f
|
@ -57,6 +57,8 @@ public:
|
|||
reset();
|
||||
}
|
||||
|
||||
virtual ~PICKER_TOOL_BASE() = default;
|
||||
|
||||
inline void SetCursor( KICURSOR aCursor ) { m_cursor = aCursor; }
|
||||
|
||||
inline void SetSnapping( bool aSnap ) { m_snap = aSnap; }
|
||||
|
|
|
@ -84,7 +84,7 @@ public:
|
|||
|
||||
void SetBoundingBox( const EDA_RECT& aBox ) { m_boundingBox = aBox; }
|
||||
|
||||
virtual void GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, std::vector<MSG_PANEL_ITEM>& aList );
|
||||
void GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, std::vector<MSG_PANEL_ITEM>& aList );
|
||||
|
||||
#if defined(DEBUG)
|
||||
void Show( int nestLevel, std::ostream& os ) const;
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#define PLUGIN_COMMON_LAYER_MAPPING_H
|
||||
|
||||
#include <functional>
|
||||
#include <map>
|
||||
|
||||
#include <io_mgr.h>
|
||||
#include <layers_id_colors_and_visibility.h> // PCB_LAYER_ID
|
||||
|
@ -73,8 +74,10 @@ public:
|
|||
{
|
||||
m_layer_mapping_handler = aLayerMappingHandler;
|
||||
}
|
||||
|
||||
virtual ~LAYER_REMAPPABLE_PLUGIN() = default;
|
||||
protected:
|
||||
LAYER_MAPPING_HANDLER m_layer_mapping_handler; ///< Callback to get layer mapping
|
||||
};
|
||||
|
||||
#endif // PLUGIN_COMMON_LAYER_MAPPING_H
|
||||
#endif // PLUGIN_COMMON_LAYER_MAPPING_H
|
||||
|
|
Loading…
Reference in New Issue