diff options
author | Alexander <esil@esil-notebook.esilnet> | 2012-07-06 15:53:36 +0700 |
---|---|---|
committer | Alexander <esil@esil-notebook.esilnet> | 2012-07-06 15:53:36 +0700 |
commit | 41f0fe4c039c6453d95469da6616f83357a5249e (patch) | |
tree | b15873c03adb33df8792bddca88cb6683416e362 /src/typeinfo.h | |
parent | 90db773bb41c026bb6641e6e1a6b6649e16b4b62 (diff) | |
download | libcxxrt-41f0fe4c039c6453d95469da6616f83357a5249e.tar.gz libcxxrt-41f0fe4c039c6453d95469da6616f83357a5249e.tar.bz2 libcxxrt-41f0fe4c039c6453d95469da6616f83357a5249e.tar.xz |
fixed bug in type info: don't treat pointer-to-member as pointer
Diffstat (limited to 'src/typeinfo.h')
-rw-r--r-- | src/typeinfo.h | 2 |
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; } }; /** |