From 310995eac7c36515e481be1aec9a32863203318f Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Sat, 25 Dec 2004 15:39:43 +0000 Subject: [PATCH] type_traits (is_enum): Minor tweak. 2004-12-25 Paolo Carlini * include/tr1/type_traits (is_enum): Minor tweak. From-SVN: r92605 --- libstdc++-v3/ChangeLog | 4 ++++ libstdc++-v3/include/tr1/type_traits | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b644e008c2f..fcedb372a7e 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2004-12-25 Paolo Carlini + + * include/tr1/type_traits (is_enum): Minor tweak. + 2004-12-25 Paolo Carlini * include/tr1/type_traits: Implement is_enum (usual caveats about diff --git a/libstdc++-v3/include/tr1/type_traits b/libstdc++-v3/include/tr1/type_traits index 9816adafa52..878084362d8 100644 --- a/libstdc++-v3/include/tr1/type_traits +++ b/libstdc++-v3/include/tr1/type_traits @@ -190,7 +190,7 @@ namespace tr1 template struct is_enum - : integral_constant::__value> { }; + : public integral_constant::__value> { }; template::value || is_void<_Tp>::value)>