[PPL-devel] [GIT] ppl/ppl(master): Added missing parentheses around a macro argument.

Roberto Bagnara bagnara at cs.unipr.it
Sun Feb 12 19:38:30 CET 2012


Module: ppl/ppl
Branch: master
Commit: df14c76cab47c24f88acc88c0a60dafeda066fcb
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=df14c76cab47c24f88acc88c0a60dafeda066fcb

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Sun Feb 12 19:37:34 2012 +0100

Added missing parentheses around a macro argument.
Detected by ECLAIR service macrbody.

---

 src/meta_programming.hh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/meta_programming.hh b/src/meta_programming.hh
index 1284b09..dedb45e 100644
--- a/src/meta_programming.hh
+++ b/src/meta_programming.hh
@@ -120,7 +120,7 @@ struct Compile_Time_Check<true> {
   enum anonymous_enum_compile_time_check_ ## suffix {			\
     /* If e evaluates to false, then the sizeof cannot be compiled. */  \
     PPL_COMPILE_TIME_CHECK_NAME(suffix)					\
-    = sizeof(Parma_Polyhedra_Library::Compile_Time_Check<e>)            \
+      = sizeof(Parma_Polyhedra_Library::Compile_Time_Check<(e)>)        \
   }
 
 #ifdef PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS




More information about the PPL-devel mailing list