From b6dcd7ac0cdfeb8dc87fe3f85388d84a2326e6e9 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Sun, 4 Feb 2001 22:02:55 +0000 Subject: [PATCH] fixed bizarre g++ 2.95.2 bug in is_convertible, discovered while trying to compile counting_iterator_test.cpp. Removed the empty body of the constructor for accept_any [SVN r8932] --- include/boost/detail/type_traits.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/detail/type_traits.hpp b/include/boost/detail/type_traits.hpp index d2f9d3e..29c526e 100644 --- a/include/boost/detail/type_traits.hpp +++ b/include/boost/detail/type_traits.hpp @@ -482,7 +482,7 @@ private: // so we only use them for those compilers. #if defined(__GNUC__) struct accept_any { - template accept_any(const T&) { } + template accept_any(const T&); }; template struct checker