From e83ce7bf2ca9020b253be8621039a8aee4d5728d Mon Sep 17 00:00:00 2001 From: Sylvain Pion Date: Mon, 16 Apr 2007 16:43:46 +0000 Subject: [PATCH] Use CGAL_precondition_code() to avoid warning. --- Algebraic_foundations/include/CGAL/Algebraic_structure_traits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Algebraic_foundations/include/CGAL/Algebraic_structure_traits.h b/Algebraic_foundations/include/CGAL/Algebraic_structure_traits.h index edb14a9252f..b4126e1d2a0 100644 --- a/Algebraic_foundations/include/CGAL/Algebraic_structure_traits.h +++ b/Algebraic_foundations/include/CGAL/Algebraic_structure_traits.h @@ -406,7 +406,7 @@ class Algebraic_structure_traits_base< Type_, Field_tag > const Type& y) const { typedef Algebraic_structure_traits AST; typedef typename AST::Is_exact Is_exact; - bool ie = Is_exact::value; + CGAL_precondition_code( bool ie = Is_exact::value; ) CGAL_precondition_msg( !ie || (x / y) * y == x, "'x' must be divisible by 'y' in " "Algebraic_structure_traits<...>::Integral_div()(x,y)" );