diff --git a/include/mp/flat/constr_2_expr.h b/include/mp/flat/constr_2_expr.h index 87c2a441b..21d0be6ab 100644 --- a/include/mp/flat/constr_2_expr.h +++ b/include/mp/flat/constr_2_expr.h @@ -397,7 +397,8 @@ class Constraints2Expr { /// Handle logical expressions in an IfThen /// @return whether to remove the original \a con. - template <> + template // to avoid "specialization" not declared at namespace + // with certain versions of gcc bool HandleLogicalArgs(const IfThenConstraint& con, int ) { MarkVarIfLogical_(con.GetArguments()[1]); // then part MarkVarIfLogical_(con.GetArguments()[2]); // else part