From: eap Date: Wed, 14 Jan 2009 10:29:04 +0000 (+0000) Subject: MEDMEM Industrialization 2008 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=37eb97c9dbdda4ed2b8445291107aa51f332e97b;p=tools%2Fmedcoupling.git MEDMEM Industrialization 2008 +// Do define OPTIMIZE here and not in makefile to avoid problems +// due to different sizeof(TransformedTriangle) in different packages +#define OPTIMIZE --- diff --git a/src/INTERP_KERNEL/TransformedTriangle.hxx b/src/INTERP_KERNEL/TransformedTriangle.hxx index 62f58c82e..d8ac94ec7 100644 --- a/src/INTERP_KERNEL/TransformedTriangle.hxx +++ b/src/INTERP_KERNEL/TransformedTriangle.hxx @@ -5,7 +5,9 @@ #include - +// Do define OPTIMIZE here and not in makefile to avoid problems +// due to different sizeof(TransformedTriangle) in different packages +#define OPTIMIZE #ifdef OPTIMIZE /// OPT_INLINE will be replaced by "inline" if OPTIMIZE is defined and else nothing @@ -121,7 +123,7 @@ namespace INTERP_KERNEL enum DoubleProduct { C_YZ = 0, C_ZX, C_XY, C_ZH, C_XH, C_YH, C_01, C_10, NO_DP }; TransformedTriangle(double* p, double* q, double* r); - ~TransformedTriangle(); + virtual ~TransformedTriangle(); double calculateIntersectionVolume();