← Back to team overview

kicad-developers team mailing list archive

Proposal for the NEGATE macro


I've seen from the flurry of (fake) conflicts that you (finally) junked
the min/max/abs macros (I simply used using std::min instead of
qualifying each occurrence).

If you want to kick the NEGATE too I used the following:

template<class T> void NEGATE( T& x ) { x = -x; }

OTOH is probably better to replace the call with the more readable

x = -x; 


Lorenzo Marcantonio
Logos Srl

Attachment: smime.p7s
Description: S/MIME cryptographic signature