summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander <esil@esil-notebook.esilnet>2012-07-06 15:53:36 +0700
committerAlexander <esil@esil-notebook.esilnet>2012-07-06 15:53:36 +0700
commit41f0fe4c039c6453d95469da6616f83357a5249e (patch)
treeb15873c03adb33df8792bddca88cb6683416e362
parent90db773bb41c026bb6641e6e1a6b6649e16b4b62 (diff)
downloadlibcxxrt-41f0fe4c039c6453d95469da6616f83357a5249e.tar.gz
libcxxrt-41f0fe4c039c6453d95469da6616f83357a5249e.tar.bz2
libcxxrt-41f0fe4c039c6453d95469da6616f83357a5249e.tar.xz
fixed bug in type info: don't treat pointer-to-member as pointer
-rw-r--r--src/typeinfo.h2
1 files changed, 1 insertions, 1 deletions
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; }
};
/**