Fix some OSX compiler warnings

This commit is contained in:
Ian McInerney 2021-03-18 17:58:48 +00:00
parent a5ff27cae7
commit 916a15793f
3 changed files with 7 additions and 2 deletions

View File

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

View File

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

View File

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