diff --git a/pcbnew/pcb_painter.h b/pcbnew/pcb_painter.h index d0b594b3da..4dee438a4b 100644 --- a/pcbnew/pcb_painter.h +++ b/pcbnew/pcb_painter.h @@ -98,7 +98,7 @@ public: COLOR4D GetColor( const BOARD_ITEM* aItem, int aLayer ) const; ///< nullptr version - COLOR4D GetColor( nullptr_t, int aLayer ) const + COLOR4D GetColor( std::nullptr_t, int aLayer ) const { return GetColor( static_cast( nullptr ), aLayer ); }