From ea09b74b7b5d8a6fc672a557c1125d82ac9e7245 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Sun, 21 Jan 2001 21:00:10 +0000 Subject: [PATCH] Comeau fixes [SVN r8691] --- include/boost/concept_check.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/boost/concept_check.hpp b/include/boost/concept_check.hpp index f642448..68e43e6 100644 --- a/include/boost/concept_check.hpp +++ b/include/boost/concept_check.hpp @@ -96,7 +96,7 @@ struct require_same { typedef T type; }; struct IntegerConcept { void constraints() { #if !defined BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION - x.error_type_not_an_integer(); + x.error_type_must_be_an_integer_type(); #endif } T x; @@ -115,9 +115,10 @@ struct require_same { typedef T type; }; struct SignedIntegerConcept { void constraints() { #if !defined BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION - errortype_must_be_a_signed_integer_type(); + x.error_type_must_be_a_signed_integer_type(); #endif } + T x; }; #if !defined BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION template <> struct SignedIntegerConcept { void constraints() {} };