diff options
Diffstat (limited to 'libstdc++-v3/include/bits/boost_concept_check.h')
-rw-r--r-- | libstdc++-v3/include/bits/boost_concept_check.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libstdc++-v3/include/bits/boost_concept_check.h b/libstdc++-v3/include/bits/boost_concept_check.h index b3ef7afe8f9..b8bce64b8c4 100644 --- a/libstdc++-v3/include/bits/boost_concept_check.h +++ b/libstdc++-v3/include/bits/boost_concept_check.h @@ -88,7 +88,7 @@ struct _Aux_require_same<_Tp,_Tp> { typedef _Tp _Type; }; template <class _Tp> struct _IntegerConcept { void __constraints() { - __error_type_must_be_an_integer_type(); + this->__error_type_must_be_an_integer_type(); } }; template <> struct _IntegerConcept<short> { void __constraints() {} }; @@ -104,7 +104,7 @@ struct _Aux_require_same<_Tp,_Tp> { typedef _Tp _Type; }; template <class _Tp> struct _SignedIntegerConcept { void __constraints() { - __error_type_must_be_a_signed_integer_type(); + this->__error_type_must_be_a_signed_integer_type(); } }; template <> struct _SignedIntegerConcept<short> { void __constraints() {} }; @@ -115,7 +115,7 @@ struct _Aux_require_same<_Tp,_Tp> { typedef _Tp _Type; }; template <class _Tp> struct _UnsignedIntegerConcept { void __constraints() { - __error_type_must_be_an_unsigned_integer_type(); + this->__error_type_must_be_an_unsigned_integer_type(); } }; template <> struct _UnsignedIntegerConcept<unsigned short> @@ -213,7 +213,6 @@ struct _Aux_require_same<_Tp,_Tp> { typedef _Tp _Type; }; { void __constraints() { __aux_require_boolean_expr(__a == __b); - __aux_require_boolean_expr(__a != __b); } _Tp __a, __b; }; |