forked from boostorg/type_traits
Added bug fix for case that a polymorphic class has a member named "foo".
[SVN r18481]
This commit is contained in:
1 parent
323dde4110
commit
85cda0604e
2 files changed
+9
-1
No files matched your search
@@ -36,7 +36,8 @@ struct is_polymorphic_imp1
|
||||
virtual ~d2()throw();
|
||||
# ifndef BOOST_MSVC
|
||||
// for some reason this messes up VC++ when T has virtual bases:
|
||||
virtual void foo();
|
||||
struct unique{};
|
||||
virtual void foo(unique*);
|
||||
# endif
|
||||
char padding[256];
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user