From 41f0fe4c039c6453d95469da6616f83357a5249e Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 6 Jul 2012 15:53:36 +0700 Subject: fixed bug in type info: don't treat pointer-to-member as pointer --- src/typeinfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/typeinfo.h b/src/typeinfo.h index 6bfbf0b..a8a1a98 100644 --- a/src/typeinfo.h +++ b/src/typeinfo.h @@ -284,7 +284,6 @@ namespace ABI_NAMESPACE /** Pointer is a pointer to a member of an incomplete class. */ __incomplete_class_mask = 0x10 }; - virtual bool __is_pointer_p() const { return true; } virtual bool __do_catch(const type_info *thrown_type, void **thrown_object, unsigned outer) const; @@ -296,6 +295,7 @@ namespace ABI_NAMESPACE struct __pointer_type_info : public __pbase_type_info { virtual ~__pointer_type_info(); + virtual bool __is_pointer_p() const { return true; } }; /** -- cgit v1.2.3