Skip to content
Browse files

fixed bug in type info: don't treat pointer-to-member as pointer

  • Loading branch information...
1 parent 90db773 commit 41f0fe4c039c6453d95469da6616f83357a5249e Alexander committed Jul 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/typeinfo.h
View
2 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; }
};
/**

0 comments on commit 41f0fe4

Please sign in to comment.
Something went wrong with that request. Please try again.