From 9bf0b479ed4038632b33a3b5274d51c728c317c1 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 11 Jun 2024 10:58:21 +0200 Subject: [PATCH] fix a compil issue on msys2 --- pcbnew/pcb_painter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); }