All: remove macros MAX, MIN, ABS from macros.h and replace these macros by std::max, std::min and std::abs (mainly found in old code).
This commit is contained in:
+2
-2
@@ -134,11 +134,11 @@ int D_CODE::GetShapeDim( GERBER_DRAW_ITEM* aParent )
|
||||
|
||||
case APT_RECT:
|
||||
case APT_OVAL:
|
||||
dim = MIN( m_Size.x, m_Size.y );
|
||||
dim = std::min( m_Size.x, m_Size.y );
|
||||
break;
|
||||
|
||||
case APT_POLYGON:
|
||||
dim = MIN( m_Size.x, m_Size.y );
|
||||
dim = std::min( m_Size.x, m_Size.y );
|
||||
break;
|
||||
|
||||
case APT_MACRO:
|
||||
|
||||
Reference in New Issue
Block a user