From 23278c28f2efe56a6b4a2199aa6098db8f39aea7 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 15 Oct 2004 12:16:54 +0000 Subject: [PATCH] Renamed member function foo in is_polymorphic test code, to prevent warnings when the template argument has a function named "foo". [SVN r25734] --- include/boost/type_traits/is_polymorphic.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/type_traits/is_polymorphic.hpp b/include/boost/type_traits/is_polymorphic.hpp index 2563578..afba32b 100644 --- a/include/boost/type_traits/is_polymorphic.hpp +++ b/include/boost/type_traits/is_polymorphic.hpp @@ -40,7 +40,7 @@ struct is_polymorphic_imp1 // for some reason this messes up VC++ when T has virtual bases, // probably likewise for compilers that use the same ABI: struct unique{}; - virtual void foo(unique*); + virtual void unique_name_to_boost5487629(unique*); # endif char padding[256]; };